Skip to content

Commit

Permalink
test: adjust paths so that the test can pass in Travis
Browse files Browse the repository at this point in the history
  • Loading branch information
adrians5j committed Oct 14, 2019
1 parent 66f4c8f commit 0f50609
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/__tests__/monorepo.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ test("must correctly detect all inconsistencies in a monorepo", () => {
"@babel/runtime": "^7.6.3"
}
},
dir: "/Users/adrian/dev/adio/src/__tests__/mocks/monorepo/packages/a",
dir: path.join(__dirname, "/mocks/monorepo/packages/a"),
errors: {
count: 0,
deps: {
Expand All @@ -85,7 +85,7 @@ test("must correctly detect all inconsistencies in a monorepo", () => {
"@babel/runtime": "^7.6.3"
}
},
dir: "/Users/adrian/dev/adio/src/__tests__/mocks/monorepo/packages/b",
dir: path.join(__dirname, "/mocks/monorepo/packages/b"),
errors: {
count: 3,
deps: {
Expand All @@ -103,7 +103,7 @@ test("must correctly detect all inconsistencies in a monorepo", () => {
main: "index.js",
license: "MIT"
},
dir: "/Users/adrian/dev/adio/src/__tests__/mocks/monorepo/packages/c",
dir: path.join(__dirname, "/mocks/monorepo/packages/c"),
errors: {
count: 1,
deps: {
Expand Down

0 comments on commit 0f50609

Please sign in to comment.