Skip to content

Commit

Permalink
test(routes): correct test case
Browse files Browse the repository at this point in the history
  • Loading branch information
PeachScript committed Dec 31, 2020
1 parent 970b5b8 commit 0d8b2d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/preset-dumi/src/routes/test/examples.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ describe('routes: examples', () => {
cwd,
paths: { cwd, absNodeModulesPath: cwd },
ApplyPluginsType: {},
applyPlugins: (() => ({ layoutPaths: { _: '' } })) as any,
applyPlugins: (() => ({ layoutPaths: { _: '' }, builtins: [{ identifier: 'Example', modulePath: '' }], fallbacks: [] })) as any,
} as IApi,
{} as IDumiOpts,
);
Expand Down

0 comments on commit 0d8b2d3

Please sign in to comment.