Skip to content
This repository was archived by the owner on Aug 18, 2024. It is now read-only.

Commit bbd86c6

Browse files
committed
test: make the cycle test a little more complex
1 parent 9328bb9 commit bbd86c6

File tree

3 files changed

+10
-1
lines changed

3 files changed

+10
-1
lines changed

test/fixtures/cycle-b.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@
33
"name": "@example/cycle-b",
44
"version": "0.0.0",
55
"dependencies": {
6-
"@example/cycle-a": "*"
6+
"@example/cycle-c": "*"
77
}
88
}

test/fixtures/cycle-c.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"private": true,
3+
"name": "@example/cycle-c",
4+
"version": "0.0.0",
5+
"dependencies": {
6+
"@example/cycle-a": "*"
7+
}
8+
}

test/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ describe('allow-scripts', () => {
8888
const fixture = Fixtures.setup('with-cycles', [
8989
'cycle-a',
9090
'cycle-b',
91+
'cycle-c',
9192
'with-install-script'
9293
]);
9394

0 commit comments

Comments
 (0)