chore: fix test name
This commit is contained in:
parent
04a00bbea2
commit
4e9b59741b
|
@ -4,7 +4,7 @@ describe('basic fetch tests', () => {
|
|||
beforeEach(basicBeforeEach)
|
||||
afterEach(basicAfterEach)
|
||||
|
||||
test('make sure fetch-mock-jest is working correctly', async () => {
|
||||
test('make sure fetch-mock is working correctly', async () => {
|
||||
expect(fetch.calls().length).toBe(0)
|
||||
const resp = await fetch(ALL_EMOJI)
|
||||
expect(resp.headers.get('etag')).toBe('W/xxx')
|
||||
|
@ -14,7 +14,7 @@ describe('basic fetch tests', () => {
|
|||
expect(fetch.lastOptions()).toBe(undefined)
|
||||
})
|
||||
|
||||
test('make sure fetch-mock-jest is working correctly 2', async () => {
|
||||
test('make sure fetch-mock is working correctly 2', async () => {
|
||||
expect(fetch.calls().length).toBe(0)
|
||||
const resp = await fetch(ALL_EMOJI_NO_ETAG)
|
||||
expect(resp.headers.get('etag')).toBeFalsy()
|
||||
|
@ -24,7 +24,7 @@ describe('basic fetch tests', () => {
|
|||
expect(fetch.lastOptions()).toBe(undefined)
|
||||
})
|
||||
|
||||
test('make sure fetch-mock-jest is working correctly 3', async () => {
|
||||
test('make sure fetch-mock is working correctly 3', async () => {
|
||||
expect(fetch.calls().length).toBe(0)
|
||||
const resp = await fetch(ALL_EMOJI, { method: 'HEAD' })
|
||||
expect(resp.headers.get('etag')).toBe('W/xxx')
|
||||
|
|
Loading…
Reference in New Issue