diff --git a/spec-main/api-service-workers-spec.ts b/spec-main/api-service-workers-spec.ts index baae694890b15..2c843af8174c2 100644 --- a/spec-main/api-service-workers-spec.ts +++ b/spec-main/api-service-workers-spec.ts @@ -66,7 +66,7 @@ describe('session.serviceWorkers', () => { }) describe('getFromVersionID()', () => { - it('should report the correct sciprt url and scope', async () => { + it('should report the correct script url and scope', async () => { const eventInfo = await emittedOnce(ses.serviceWorkers, 'console-message', () => w.loadURL(`${baseUrl}/index.html`)) const details: Electron.MessageDetails = eventInfo[1] const worker = ses.serviceWorkers.getFromVersionID(details.versionId) @@ -96,4 +96,4 @@ describe('session.serviceWorkers', () => { expect(messages['error log']).to.have.property('level', 3) }) }) -}) \ No newline at end of file +})