@ephox/bedrock-common
Advanced tools
Comparing version 11.1.1 to 11.2.1
@@ -18,3 +18,3 @@ import { TestError } from './TestError'; | ||
export declare type ExecuteFn = SyncFn | AsyncFn; | ||
declare type StandaloneSuiteFn = (name: string, fn: (this: Suite) => void) => Suite; | ||
declare type StandaloneSuiteFn = (title: string, fn: (this: Suite) => void) => Suite; | ||
declare type StandaloneTestFn = { | ||
@@ -24,10 +24,7 @@ (title: string, fn: SyncFn): Test; | ||
}; | ||
export interface SuiteFn { | ||
(title: string, fn: (this: Suite) => void): Suite; | ||
export interface SuiteFn extends StandaloneSuiteFn { | ||
readonly only: StandaloneSuiteFn; | ||
readonly skip: StandaloneSuiteFn; | ||
} | ||
export interface TestFn { | ||
(title: string, fn: SyncFn): Test; | ||
(title: string, fn: AsyncFn): Test; | ||
export interface TestFn extends StandaloneTestFn { | ||
readonly only: StandaloneTestFn; | ||
@@ -34,0 +31,0 @@ readonly skip: StandaloneTestFn; |
{ | ||
"name": "@ephox/bedrock-common", | ||
"version": "11.1.1", | ||
"version": "11.2.1", | ||
"author": "Tiny Technologies Inc", | ||
@@ -26,3 +26,3 @@ "license": "Apache-2.0", | ||
}, | ||
"gitHead": "c45d1d7e0f2798338245f80c35824641da6d0787" | ||
"gitHead": "f57be99e8bf8eb5974f98dfb63f56875ff1f9c35" | ||
} |
@@ -23,3 +23,3 @@ import { TestError } from './TestError'; | ||
type StandaloneSuiteFn = (name: string, fn: (this: Suite) => void) => Suite; | ||
type StandaloneSuiteFn = (title: string, fn: (this: Suite) => void) => Suite; | ||
type StandaloneTestFn = { | ||
@@ -30,4 +30,3 @@ (title: string, fn: SyncFn): Test; | ||
export interface SuiteFn { | ||
(title: string, fn: (this: Suite) => void): Suite; | ||
export interface SuiteFn extends StandaloneSuiteFn { | ||
readonly only: StandaloneSuiteFn; | ||
@@ -37,5 +36,3 @@ readonly skip: StandaloneSuiteFn; | ||
export interface TestFn { | ||
(title: string, fn: SyncFn): Test; | ||
(title: string, fn: AsyncFn): Test; | ||
export interface TestFn extends StandaloneTestFn { | ||
readonly only: StandaloneTestFn; | ||
@@ -42,0 +39,0 @@ readonly skip: StandaloneTestFn; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
78633
1461