mirror of
https://github.com/kevin-DL/sapper.git
synced 2026-01-12 03:05:12 +00:00
fix tests
This commit is contained in:
@@ -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`, {
|
||||
|
||||
Reference in New Issue
Block a user