mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Merge pull request #15956 from overleaf/jpa-tweak-test
[fetch-utils] tests: fix test for handling of errors in fetchString GitOrigin-RevId: 8c3b33113ce93fe087258efb68346c8e86b23096
This commit is contained in:
parent
661c9f685c
commit
3b36bfdba4
1 changed files with 1 additions and 1 deletions
|
@ -199,7 +199,7 @@ describe('fetch-utils', function () {
|
||||||
})
|
})
|
||||||
|
|
||||||
it('handles errors', async function () {
|
it('handles errors', async function () {
|
||||||
await expect(fetchJson(this.url('/500'))).to.be.rejectedWith(
|
await expect(fetchString(this.url('/500'))).to.be.rejectedWith(
|
||||||
RequestFailedError
|
RequestFailedError
|
||||||
)
|
)
|
||||||
await expectRequestAborted(this.server.lastReq)
|
await expectRequestAborted(this.server.lastReq)
|
||||||
|
|
Loading…
Reference in a new issue