@zohodesk/unit-testing-framework 0.0.15-experimental → 0.0.16-experimental
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = globalSetup;
|
|
7
|
+
/**
|
|
8
|
+
* setup.js
|
|
9
|
+
*
|
|
10
|
+
* Global setup module executed once before all test suites.
|
|
11
|
+
* Runs in the parent process (not in test workers), so it's
|
|
12
|
+
* suitable for one-time tasks like starting services or
|
|
13
|
+
* setting environment variables.
|
|
14
|
+
*
|
|
15
|
+
* This file is referenced by the default config's `globalSetup`.
|
|
16
|
+
*/
|
|
17
|
+
|
|
18
|
+
async function globalSetup() {
|
|
19
|
+
// Intentionally minimal — consumers can override globalSetup
|
|
20
|
+
// in their own config to add project-specific logic.
|
|
21
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = globalTeardown;
|
|
7
|
+
/**
|
|
8
|
+
* teardown.js
|
|
9
|
+
*
|
|
10
|
+
* Global teardown module executed once after all test suites complete.
|
|
11
|
+
* Runs in the parent process (not in test workers), so it's
|
|
12
|
+
* suitable for cleanup tasks like stopping services or
|
|
13
|
+
* removing temp files.
|
|
14
|
+
*
|
|
15
|
+
* This file is referenced by the default config's `globalTeardown`.
|
|
16
|
+
*/
|
|
17
|
+
|
|
18
|
+
async function globalTeardown() {
|
|
19
|
+
// Intentionally minimal — consumers can override globalTeardown
|
|
20
|
+
// in their own config to add project-specific logic.
|
|
21
|
+
}
|