UNPKG
pact-web
Version:
latest (4.3.2)
4.3.2
4.3.1
4.2.1
4.0.0
3.0.1
2.7.0
2.6.0
2.5.0
2.4.2
2.3.4
0.0.1
Pact for the browser
docs.pact.io/documentation/javascript.html
pact-foundation/pact-js
pact-web
/
dsl
/
verifier.js
13 lines
(9 loc)
•
230 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
/** * Provider Verifier service *
@module
ProviderVerifier
*/
'use strict'
const
serviceFactory =
require
(
'@pact-foundation/pact-node'
)
module
.
exports
.
verifyProvider
=
(
opts
) =>
{
return
serviceFactory.
verifyPacts
(opts) }