all repos — archive/homestead @ 3bda5fcfb7a23619ba66bef029d89bbd18d2c915

My future indieweb platform

Move tests to test/

Alan Pearce
commit

3bda5fcfb7a23619ba66bef029d89bbd18d2c915

parent

553a9f2f376a9d489e9096386ffec5b7732aa5e3

2 files changed, 3 insertions(+), 3 deletions(-)

changed files
M package.jsonpackage.json
@@ -16,8 +16,8 @@ "scripts": {
"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",
M src/index.test.jstest/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())