@akanjs/test 0.0.115 → 0.0.117

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.
@@ -1,19 +1,10 @@
1
- var __getOwnPropNames = Object.getOwnPropertyNames;
2
- var __commonJS = (cb, mod) => function __require() {
3
- return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
4
- };
5
1
  import { TestServer } from "./jest.testServer";
6
- var require_jest_setupFilesAfterEnv = __commonJS({
7
- "pkgs/@akanjs/test/jest.setupFilesAfterEnv.ts"() {
8
- const { env, fetch } = global;
9
- jest.setTimeout(3e4);
10
- global.beforeAll(async () => {
11
- TestServer.initClient(env);
12
- await fetch.cleanup();
13
- });
14
- global.afterAll(async () => {
15
- await fetch.client.terminate();
16
- });
17
- }
2
+ const { env, fetch } = global;
3
+ jest.setTimeout(3e4);
4
+ global.beforeAll(async () => {
5
+ TestServer.initClient(env);
6
+ await fetch.cleanup();
7
+ });
8
+ global.afterAll(async () => {
9
+ await fetch.client.terminate();
18
10
  });
19
- export default require_jest_setupFilesAfterEnv();
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@akanjs/test",
3
- "version": "0.0.115",
4
- "type": "commonjs",
3
+ "version": "0.0.117",
4
+ "sourceType": "module",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },