From 1af7697733c9a160c8fdc05bb5c0e2ce1798627c Mon Sep 17 00:00:00 2001 From: Ayushman Chhabra <14110965+ayushmanchhabra@users.noreply.github.com> Date: Wed, 20 Sep 2023 15:57:01 -0400 Subject: [PATCH] chore: use jasmine without globals --- src/app/app.component.spec.ts | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/app/app.component.spec.ts b/src/app/app.component.spec.ts index 08d630a..b9c4ace 100644 --- a/src/app/app.component.spec.ts +++ b/src/app/app.component.spec.ts @@ -1,5 +1,14 @@ import { TestBed } from '@angular/core/testing'; import { RouterTestingModule } from '@angular/router/testing'; +import * as jasmine from "jasmine-core"; + +const { + beforeEach, + describe, + expect, + it, +} = jasmine.NoGlobals(); + import { AppComponent } from './app.component'; describe('AppComponent', () => {