diff options
author | 2023-06-10 11:16:29 -0700 | |
---|---|---|
committer | 2023-06-10 11:16:29 -0700 | |
commit | 3ca374ff82636b6958b6619e132270ba427164f7 (patch) | |
tree | ddf7df3bd0d208baf63532f230776df43d3fba86 | |
parent | e4352a490e30ff398e12a76ff84d561d9b80cf3e (diff) | |
download | bun-test-each.tar.gz bun-test-each.tar.zst bun-test-each.zip |
Fix formattingbun-test-each
-rw-r--r-- | test/js/bun/test/mock-test.test.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/js/bun/test/mock-test.test.ts b/test/js/bun/test/mock-test.test.ts index c5f2f3eec..7d4e92919 100644 --- a/test/js/bun/test/mock-test.test.ts +++ b/test/js/bun/test/mock-test.test.ts @@ -146,7 +146,7 @@ test("spyOn works on globalThis", () => { // spyOn does not work with getters/setters yet. test("lastCall works", () => { - const fn = mock((v) => -v); + const fn = mock(v => -v); expect(fn.mock.lastCall).toBeUndefined(); expect(fn(1)).toBe(-1); expect(fn.mock.lastCall).toEqual([1]); |