about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--package.json4
-rw-r--r--test/index.test.js (renamed from src/index.test.js)2
2 files changed, 3 insertions, 3 deletions
diff --git a/package.json b/package.json
index f4c9fc5..e66c8a5 100644
--- a/package.json
+++ b/package.json
@@ -16,8 +16,8 @@
     "dev:assist": "auto-install --yarn",
     "format": "prettier-standard 'src/**/*.js'",
     "precommit": "lint-staged",
-    "test": "ava '**/*.test.js'",
-    "test:watch": "ava --watch '**/*.test.js'"
+    "test": "ava 'test/**/*.test.js'",
+    "test:watch": "ava --watch 'test/**/*.test.js'"
   },
   "devDependencies": {
     "auto-install": "^1.7.4",
diff --git a/src/index.test.js b/test/index.test.js
index 2c11d65..2e55b2c 100644
--- a/src/index.test.js
+++ b/test/index.test.js
@@ -1,7 +1,7 @@
 const test = require('ava')
 const request = require('supertest')
 
-const app = require('./index.js')
+const app = require('../src/index.js')
 
 test(t =>
   request(app.listen())