beartest-js 7.0.0 → 7.0.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.
Files changed (2) hide show
  1. package/index.d.ts +7 -7
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -72,14 +72,14 @@ export interface TestFail {
72
72
  }
73
73
 
74
74
  export interface TestFunction {
75
- (name: string, fn: () => Promise<any>): void
76
- only(name: string, fn: () => Promise<any>): void
77
- skip(name: string, fn: () => Promise<any>): void
75
+ (name: string, fn: () => unknown): void
76
+ only(name: string, fn: () => unknown): void
77
+ skip(name: string, fn: () => unknown): void
78
78
  describe: DescribeFunction
79
- before(callback: () => Promise<any>): void
80
- beforeEach(callback: () => Promise<any>): void
81
- after(callback: () => Promise<any>): void
82
- afterEach(callback: () => Promise<any>): void
79
+ before(callback: () => unknown): void
80
+ beforeEach(callback: () => unknown): void
81
+ after(callback: () => unknown): void
82
+ afterEach(callback: () => unknown): void
83
83
  }
84
84
 
85
85
  export interface DescribeFunction {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "beartest-js",
3
- "version": "7.0.0",
3
+ "version": "7.0.1",
4
4
  "description": "Bear Bones Testing",
5
5
  "repository": {
6
6
  "type": "git",