Mercurial
comparison benchmark/bun-http-framework-benchmark/src/node/adonis/tests/bootstrap.js @ 183:a8976a008a9d
[BenchMark] Added bun bench mark to test seoboe vs other popular benchmarks.
| author | MrJuneJune <me@mrjunejune.com> |
|---|---|
| date | Fri, 23 Jan 2026 21:19:08 -0800 |
| parents | |
| children |
comparison
equal
deleted
inserted
replaced
| 179:8d17f6e6e290 | 183:a8976a008a9d |
|---|---|
| 1 "use strict"; | |
| 2 var __importDefault = (this && this.__importDefault) || function (mod) { | |
| 3 return (mod && mod.__esModule) ? mod : { "default": mod }; | |
| 4 }; | |
| 5 Object.defineProperty(exports, "__esModule", { value: true }); | |
| 6 exports.configureSuite = exports.runnerHooks = exports.reporters = exports.plugins = void 0; | |
| 7 const TestUtils_1 = __importDefault(global[Symbol.for('ioc.use')]("Adonis/Core/TestUtils")); | |
| 8 const preset_adonis_1 = require("@japa/preset-adonis"); | |
| 9 exports.plugins = [(0, preset_adonis_1.assert)(), (0, preset_adonis_1.runFailedTests)(), (0, preset_adonis_1.apiClient)()]; | |
| 10 exports.reporters = [(0, preset_adonis_1.specReporter)()]; | |
| 11 exports.runnerHooks = { | |
| 12 setup: [() => TestUtils_1.default.ace().loadCommands()], | |
| 13 teardown: [], | |
| 14 }; | |
| 15 const configureSuite = (suite) => { | |
| 16 if (suite.name === 'functional') { | |
| 17 suite.setup(() => TestUtils_1.default.httpServer().start()); | |
| 18 } | |
| 19 }; | |
| 20 exports.configureSuite = configureSuite; | |
| 21 //# sourceMappingURL=bootstrap.js.map |