fix tests

This commit is contained in:
Rich Harris
2018-05-03 23:23:02 -04:00
parent 1a5364ae9d
commit f4eac2515f
2 changed files with 1 additions and 8 deletions

View File

@@ -163,7 +163,7 @@ function run({ mode, basepath = '' }) {
const dir = mode === 'production' ? 'build' : '.sapper';
if (mode === 'production') {
assert.ok(fs.existsSync('start.js'));
assert.ok(fs.existsSync('build/index.js'));
}
proc = require('child_process').fork(`${dir}/server.js`, {