diff options
Diffstat (limited to 'vanilla/node_modules/vitest/dist/chunks/constants.D_Q9UYh-.js')
| -rw-r--r-- | vanilla/node_modules/vitest/dist/chunks/constants.D_Q9UYh-.js | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/vanilla/node_modules/vitest/dist/chunks/constants.D_Q9UYh-.js b/vanilla/node_modules/vitest/dist/chunks/constants.D_Q9UYh-.js new file mode 100644 index 0000000..6447c76 --- /dev/null +++ b/vanilla/node_modules/vitest/dist/chunks/constants.D_Q9UYh-.js @@ -0,0 +1,36 @@ +// if changed, update also jsdocs and docs +const defaultPort = 51204; +const defaultBrowserPort = 63315; +const defaultInspectPort = 9229; +const API_PATH = "/__vitest_api__"; +const CONFIG_NAMES = ["vitest.config", "vite.config"]; +const CONFIG_EXTENSIONS = [ + ".ts", + ".mts", + ".cts", + ".js", + ".mjs", + ".cjs" +]; +const configFiles = CONFIG_NAMES.flatMap((name) => CONFIG_EXTENSIONS.map((ext) => name + ext)); +const globalApis = [ + "suite", + "test", + "describe", + "it", + "chai", + "expect", + "assert", + "expectTypeOf", + "assertType", + "vitest", + "vi", + "beforeAll", + "afterAll", + "beforeEach", + "afterEach", + "onTestFinished", + "onTestFailed" +]; + +export { API_PATH as A, defaultPort as a, defaultInspectPort as b, configFiles as c, defaultBrowserPort as d, globalApis as g }; |
