Initial commit

This commit is contained in:
Rutra
2026-02-25 00:34:39 +01:00
commit 54b0fc3485
178 changed files with 12761 additions and 0 deletions

15
tests/bootstrap.js vendored Normal file
View File

@@ -0,0 +1,15 @@
import { assert } from '@japa/assert';
import app from '@adonisjs/core/services/app';
import { pluginAdonisJS } from '@japa/plugin-adonisjs';
import testUtils from '@adonisjs/core/services/test_utils';
export const plugins = [assert(), pluginAdonisJS(app)];
export const runnerHooks = {
setup: [],
teardown: [],
};
export const configureSuite = (suite) => {
if (['browser', 'functional', 'e2e'].includes(suite.name)) {
return suite.setup(() => testUtils.httpServer().start());
}
};
//# sourceMappingURL=bootstrap.js.map