@rcompat/test 0.8.3 → 0.9.1

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,8 @@
1
+ import type { MaybePromise } from "@rcompat/type";
2
+ type Env<C = void> = {
3
+ globals(context: C): object;
4
+ setup?(): MaybePromise<C>;
5
+ teardown?(context: C): MaybePromise<void>;
6
+ };
7
+ export type { Env as default };
8
+ //# sourceMappingURL=Env.d.ts.map
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=Env.js.map
@@ -0,0 +1,7 @@
1
+ declare const _default: {
2
+ globals(): {
3
+ secret: number;
4
+ };
5
+ };
6
+ export default _default;
7
+ //# sourceMappingURL=env.env.d.ts.map
@@ -0,0 +1,8 @@
1
+ export default {
2
+ globals() {
3
+ return {
4
+ secret: 123,
5
+ };
6
+ },
7
+ };
8
+ //# sourceMappingURL=env.env.js.map
@@ -5,4 +5,8 @@ declare const _default: {
5
5
  ended(end: End): void;
6
6
  };
7
7
  export default _default;
8
+ export type { default as Asserter } from "#Asserter";
9
+ export type { default as Env } from "#Env";
10
+ export type { default as Result } from "#Result";
11
+ export type { default as Test } from "#Test";
8
12
  //# sourceMappingURL=index.d.ts.map
@@ -1,3 +1,3 @@
1
+ export type * from "#index";
1
2
  export { default } from "#index";
2
- export type { default as Asserter } from "#Asserter";
3
3
  //# sourceMappingURL=index.d.ts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rcompat/test",
3
- "version": "0.8.3",
3
+ "version": "0.9.1",
4
4
  "description": "Standard library testing",
5
5
  "bugs": "https://github.com/rcompat/rcompat/issues",
6
6
  "license": "MIT",
@@ -15,7 +15,7 @@
15
15
  "directory": "packages/test"
16
16
  },
17
17
  "devDependencies": {
18
- "@rcompat/fs": "^0.25.2",
18
+ "@rcompat/fs": "^0.25.3",
19
19
  "@rcompat/type": "^0.9.0"
20
20
  },
21
21
  "type": "module",
@@ -1,2 +0,0 @@
1
- export { default } from "#Asserter";
2
- //# sourceMappingURL=Asserter.d.ts.map
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=Asserter.js.map
@@ -1,3 +0,0 @@
1
- import type Result from "#Result";
2
- export type { Result as default };
3
- //# sourceMappingURL=Result.d.ts.map
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=Result.js.map
@@ -1,3 +0,0 @@
1
- import type Test from "#Test";
2
- export type { Test as default };
3
- //# sourceMappingURL=Test.d.ts.map
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=Test.js.map