mirror of
https://github.com/docsifyjs/docsify.git
synced 2025-12-08 19:55:52 +00:00
10 lines
332 B
JavaScript
10 lines
332 B
JavaScript
// This has to be a CommonJS file because Jest currently imports it using
|
|
// `require()` instead of `import` (to be continued)...
|
|
|
|
module.exports = async () => {
|
|
// ...(continued) but we can use import in here to transition back into ESM land.
|
|
const server = (await import('./server')).default;
|
|
|
|
await server.startAsync();
|
|
};
|