diff --git a/packages/happy-dom/test/event/EventTarget.test.ts b/packages/happy-dom/test/event/EventTarget.test.ts index c534db67b..ee12e7340 100644 --- a/packages/happy-dom/test/event/EventTarget.test.ts +++ b/packages/happy-dom/test/event/EventTarget.test.ts @@ -189,7 +189,7 @@ describe('EventTarget', () => { }); }); - describe('toString()', () => { + describe('[Symbol.toStringTag]', () => { it('Returns EventTarget string.', () => { const description = 'EventTarget'; diff --git a/packages/happy-dom/test/fetch/AbortSignal.test.ts b/packages/happy-dom/test/fetch/AbortSignal.test.ts index 8c05e32a3..bb709d26f 100644 --- a/packages/happy-dom/test/fetch/AbortSignal.test.ts +++ b/packages/happy-dom/test/fetch/AbortSignal.test.ts @@ -29,7 +29,7 @@ describe('AbortSignal', () => { }); }); - describe('AbortSignal.toString()', () => { + describe('AbortSignal[Symbol.toStringTag]', () => { it('Returns AbortSignal string.', () => { const description = 'AbortSignal'; const signal = new AbortSignal();