Skip to content

Commit

Permalink
Quick fix for the forceRender test
Browse files Browse the repository at this point in the history
  • Loading branch information
VadimKovalenkoSNF committed Nov 13, 2023
1 parent bbea9d7 commit 5bd9260
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/e2e/forceRender.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,13 +44,13 @@ describe('forceRender', () => {
const forceRender = 'VisualEditor'
expect(async () => {
await mwoffliner.execute({ ...parameters, forceRender })
}).rejects.toThrowError()
}).rejects.toThrow()
})

test('Scrape article from bm.wikipedia.org should throw error when using wrong render', async () => {
const forceRender = 'unknownRenderName'
expect(async () => {
await mwoffliner.execute({ ...parameters, forceRender })
}).rejects.toThrowError()
}).rejects.toThrow()
})
})

0 comments on commit 5bd9260

Please sign in to comment.