test: cleanup let xyz = null as unknown as T; (#37335)

This commit is contained in:
Milan Burda 2023-02-19 10:24:24 +01:00 committed by GitHub
parent fcfbcbc7e1
commit cf10c19c33
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 41 additions and 41 deletions

View file

@ -13,7 +13,7 @@ describe('session.serviceWorkers', () => {
let ses: Electron.Session;
let server: http.Server;
let baseUrl: string;
let w: WebContents = null as unknown as WebContents;
let w: WebContents;
before(async () => {
ses = session.fromPartition(partition);