Skip to content

Commit 7cfe59d

Browse files
committed
change test case
1 parent 2c569fa commit 7cfe59d

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

tests/rules/noRepeatedMemberAccess.test.ts

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -74,13 +74,6 @@ describe("Rule: no-spread", () => {
7474
const b = dataset[0][1].z * 2;
7575
notify(dataset[0][1].timestamp);
7676
`,
77-
// WARN: DONT extract when function with possible side effect is called upon
78-
`
79-
const a = data.x + data.y;
80-
data.update();
81-
const b = data.x * 2;
82-
notify(data.x);
83-
`,
8477
`
8578
const first = data.items[0].config['security'].rules[2].level;
8679
data.items[0].config['security'].rules[2].enabled = true;

0 commit comments

Comments
 (0)