* feat(medusa): Implement file base routing mechanism * cleanup * cleanup and improvements * improve tests * update tests * Create tame-trains-grin.md * fix tests, move fixtures * fix tests * lint * init work * work on supported methods * add config generator * progress * progress * rework middleware registartion * progress * progress * export MiddlewareConfig type * add type extensions * work on improving logs * work on loggers * apply cors, json parsing, and admin authentication per default * address feedback * rm changeset --------- Co-authored-by: adrien2p <adrien.deperetti@gmail.com> Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com>
6 lines
146 B
JavaScript
6 lines
146 B
JavaScript
global.performance = require("perf_hooks").performance
|
|
|
|
global.afterEach(async () => {
|
|
await new Promise((resolve) => setImmediate(resolve))
|
|
})
|