Skip to content

Commit

Permalink
Update spec-main/api-service-workers-spec.ts
Browse files Browse the repository at this point in the history
Co-Authored-By: Jeremy Apthorp <jeremya@chromium.org>
  • Loading branch information
MarshallOfSound and nornagon committed Jan 13, 2020
1 parent 87baf6b commit 9599b43
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec-main/api-service-workers-spec.ts
Expand Up @@ -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)
Expand Down Expand Up @@ -96,4 +96,4 @@ describe('session.serviceWorkers', () => {
expect(messages['error log']).to.have.property('level', 3)
})
})
})
})

0 comments on commit 9599b43

Please sign in to comment.