diff options
author | Alan Pearce | 2017-06-18 09:27:11 +0200 |
---|---|---|
committer | Alan Pearce | 2017-06-18 09:27:11 +0200 |
commit | 3bda5fcfb7a23619ba66bef029d89bbd18d2c915 (patch) | |
tree | 7682f34d6f425592abb1e6d9e124846772bf0f85 | |
parent | 553a9f2f376a9d489e9096386ffec5b7732aa5e3 (diff) | |
download | homestead-3bda5fcfb7a23619ba66bef029d89bbd18d2c915.tar.lz homestead-3bda5fcfb7a23619ba66bef029d89bbd18d2c915.tar.zst homestead-3bda5fcfb7a23619ba66bef029d89bbd18d2c915.zip |
Move tests to test/
-rw-r--r-- | package.json | 4 | ||||
-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()) |