inject fallback index.html where necessary

This commit is contained in:
Rich Harris
2018-07-16 14:18:21 -04:00
parent f221281f8a
commit 8299c68678
4 changed files with 12 additions and 5 deletions

View File

@@ -2,7 +2,7 @@ const path = require('path');
const assert = require('assert');
const { create_routes } = require('../../../dist/core.ts.js');
describe.only('create_routes', () => {
describe('create_routes', () => {
it('creates routes', () => {
const { components, pages, server_routes } = create_routes(path.join(__dirname, 'samples/basic'));