update test

This commit is contained in:
Rich Harris
2018-01-15 10:04:24 -05:00
parent b7bb69925e
commit 9ec23c47ad

View File

@@ -79,7 +79,7 @@ function run(env) {
if (env === 'production') { if (env === 'production') {
const cli = path.resolve(__dirname, '../../cli/index.js'); const cli = path.resolve(__dirname, '../../cli/index.js');
exec_promise = exec(`${cli} build`).then(() => exec(`${cli} extract`)); exec_promise = exec(`${cli} build`).then(() => exec(`${cli} export`));
} }
return exec_promise.then(() => { return exec_promise.then(() => {
@@ -327,8 +327,8 @@ function run(env) {
}); });
if (env === 'production') { if (env === 'production') {
describe('extract', () => { describe('export', () => {
it('extract all pages', () => { it('export all pages', () => {
const dest = path.resolve(__dirname, '../app/dist'); const dest = path.resolve(__dirname, '../app/dist');
// Pages that should show up in the extraction directory. // Pages that should show up in the extraction directory.