Skip to content

Commit dc9ee71

Browse files
committed
chore: use localhost in ava tests
1 parent e0ce553 commit dc9ee71

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

examples/ava/test/get-dog_1.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ const pact = require("@pact-foundation/pact")
66
const Pact = pact.Pact
77
const getMeDog = require("../index").getMeDog
88

9-
const url = "http://localhost"
9+
const url = "http://127.0.0.1"
1010
const port = 8990
1111

1212
const provider = new Pact({

examples/ava/test/get-dogs.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ const pact = require("@pact-foundation/pact")
66
const Pact = pact.Pact
77
const getMeDogs = require("../index").getMeDogs
88

9-
const url = "http://localhost"
9+
const url = "http://127.0.0.1"
1010
const port = 8989
1111

1212
const provider = new Pact({

0 commit comments

Comments
 (0)