Skip to content

Commit

Permalink
🚜 allow references to local json from .spec.js files
Browse files Browse the repository at this point in the history
  • Loading branch information
sverweij committed Oct 26, 2017
1 parent 5f34392 commit 99d75e0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .dependency-cruiser-custom.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@
}, {
"name": "no-inter-module-test",
"severity": "error",
"from": { "path": "^test/[^\\/]+/[^\\.]+\\.spec\\.js" },
"to": { "path": "^test/[^\\/]+/.+", "pathNot": "utl"}
"from": { "path": "(^test/[^\\/]+/)[^\\.]+\\.spec\\.js" },
"to": { "path": "^test/[^\\/]+/.+", "pathNot": "utl|$1[^\\.]+\\.json$"}
}, {
"name": "no-dep-on-test",
"severity": "error",
Expand Down

0 comments on commit 99d75e0

Please sign in to comment.