Skip to content

Commit

Permalink
chore: fix typos (#76)
Browse files Browse the repository at this point in the history
  • Loading branch information
Mister-Hope committed Dec 26, 2023
1 parent 27cfe2a commit 67f3136
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/Headers.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ describe('.entries()', () => {
})

describe('.has()', () => {
it('throws a TypeEror given an invalid header name', () => {
it('throws a TypeError given an invalid header name', () => {
const headers = new Headers()
expect(() =>
headers.has(
Expand All @@ -249,7 +249,7 @@ describe('.has()', () => {
})

describe('.get()', () => {
it('throws a TypeEror given an invalid header name', () => {
it('throws a TypeError given an invalid header name', () => {
const headers = new Headers()
expect(() =>
headers.get(
Expand Down Expand Up @@ -392,7 +392,7 @@ describe('.forEach()', () => {
headerSet.add(name)
})

// `Headers.forEach` returns normalized lowecase names.
// `Headers.forEach` returns normalized lowercase names.
expect(headerSet).toEqual(new Set(['accept', 'user-agent']))
})

Expand Down Expand Up @@ -421,7 +421,7 @@ describe('.getSetCookie()', () => {
expect(headers.getSetCookie()).toEqual([''])
})

it('returns a list of a single existig Set-Cookie header', () => {
it('returns a list of a single existing Set-Cookie header', () => {
const headers = new Headers({
'Set-Cookie': 'name=cookie; Expires=Wed, 21 Oct 2015 07:28:00 GMT',
})
Expand Down

0 comments on commit 67f3136

Please sign in to comment.