v2: prepare to move

This commit is contained in:
endiliey 2018-09-17 11:16:07 +08:00
parent dc7ef96849
commit 45736200b0
172 changed files with 0 additions and 0 deletions

View file

@ -0,0 +1,24 @@
import genRoutesConfig from '@lib/load/routes';
import loadSetup from '../loadSetup';
describe('genRoutesConfig', () => {
test('simple website', async () => {
const props = await loadSetup('simple');
await genRoutesConfig(props);
});
test('versioned website', async () => {
const props = await loadSetup('versioned');
await genRoutesConfig(props);
});
test('versioned & translated website', async () => {
const props = await loadSetup('transversioned');
await genRoutesConfig(props);
});
test('translated website', async () => {
const props = await loadSetup('translated');
await genRoutesConfig(props);
});
});