about summary refs log tree commit diff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/build.js2
-rw-r--r--test/package.json2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/build.js b/test/build.js
index c5b6e8c..036fc69 100644
--- a/test/build.js
+++ b/test/build.js
@@ -2,4 +2,4 @@ import Kronikarz from 'kronikarz';
 
 const k = new Kronikarz('../wpisy');
 
-k.generateApi('../api');
+k.generateApi('../static');
diff --git a/test/package.json b/test/package.json
index 74665d2..c98d7e9 100644
--- a/test/package.json
+++ b/test/package.json
@@ -8,7 +8,7 @@
     "kronikarz": "^2.0.0"
   },
   "scripts": {
-    "build": "mkdir -p ../api/api && touch ../api/api/posts.json && node -r esm build.js && cp _headers ../api",
+    "build": "mkdir -p ../static/api && touch ../static/api/posts.json && node -r esm build.js && cp _headers ../static",
     "test": "./validator.sh"
   },
   "keywords": [],