Skip to content

Commit 425ced8

Browse files
committed
Update snapshots again....
1 parent 8b4bf21 commit 425ced8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/cse-machine/__tests__/cse-machine-errors.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ test('Infinite recursion with a block bodied function', { timeout: 15_000 }, ()
180180
).toEqual(expect.stringMatching(/Maximum call stack size exceeded\n *(i\(\d*\)[^i]{2,4}){3}/))
181181
})
182182

183-
test('Infinite recursion with function calls in argument', { timeout: 30_000 }, () => {
183+
test('Infinite recursion with function calls in argument', { timeout: process.env.GITHUB_ACTIONS ? 35_000 : 20_000 }, () => {
184184
return expectParsedError(
185185
stripIndent`
186186
function i(n, redundant) {

src/repl/__tests__/svmc.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ describe('Test output options', () => {
8282
const [[fileName, contents]] = mockedWriteFile.mock.calls
8383

8484
expect((fileName as string).startsWith('test')).toEqual(true)
85-
expect(contents).toMatchSnapshot()
85+
expect(contents).toMatchSnapshot(`output ${choice}`)
8686
})
8787
})
8888
})

0 commit comments

Comments
 (0)