test: cleanup let xyz = null as unknown as T; (#37335)
This commit is contained in:
parent
fcfbcbc7e1
commit
cf10c19c33
7 changed files with 41 additions and 41 deletions
|
@ -292,8 +292,8 @@ describe('webContents module', () => {
|
|||
});
|
||||
afterEach(closeAllWindows);
|
||||
|
||||
let server: http.Server = null as unknown as http.Server;
|
||||
let serverUrl: string = null as unknown as string;
|
||||
let server: http.Server;
|
||||
let serverUrl: string;
|
||||
|
||||
before((done) => {
|
||||
server = http.createServer((request, response) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue