We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3703e81 commit affca89Copy full SHA for affca89
1 file changed
src/dsl/verifier.ts
@@ -8,7 +8,9 @@ import { Promise } from "es6-promise";
8
9
export class Verifier {
10
public verifyProvider(opts: VerifierOptions): Promise<string> {
11
- return pact.verifyPacts(opts)
12
- .then((value: string) => Promise.resolve(value), (error: any) => Promise.reject(error));
+ return new Promise((resolve, reject) => {
+ pact.verifyPacts(opts)
13
+ .then((value: string) => resolve(value), (error: any) => reject(error));
14
+ });
15
}
16
0 commit comments