Skip to content
This repository was archived by the owner on May 19, 2023. It is now read-only.

Commit 5ea96bf

Browse files
committed
test: remove deps param
1 parent b4950d4 commit 5ea96bf

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/core/utils/__test__/computeExpression.spec.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,17 @@ describe('.compute', () => {
44
it('should use key-based retrieval during computation', () => {
55
const el = document.createElement('div');
66

7-
expect(computeExpression('count', el, true, {}, ['count'])({ count: 0 })).toEqual(0);
7+
expect(computeExpression('count', el, true, {})({ count: 0 })).toEqual(0);
88
});
99

1010
it('should compute correctly', () => {
1111
const el = document.createElement('div');
12-
expect(computeExpression('count + 1', el, true, {}, ['count'])({ count: 0 })).toEqual(1);
12+
expect(computeExpression('count + 1', el, true, {})({ count: 0 })).toEqual(1);
1313
});
1414

1515
it('should not return the value', () => {
1616
const el = document.createElement('div');
17-
expect(computeExpression('count + 1', el, false, {}, ['count'])({ count: 0 })).toEqual(
17+
expect(computeExpression('count + 1', el, false, {})({ count: 0 })).toEqual(
1818
undefined
1919
);
2020
});

0 commit comments

Comments
 (0)