Skip to content

Commit

Permalink
fix(test): import jasmine top of spec file
Browse files Browse the repository at this point in the history
  • Loading branch information
ayushmanchhabra committed Sep 20, 2023
1 parent 96f4895 commit e1865a9
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 14 deletions.
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
"@angular/router": "^16.2.5",
"@types/chrome": "^0.0.246",
"@types/jasmine": "^4.3.6",
"@types/node": "^18.17.18",
"@types/node": "^20.6.3",
"@types/nw.js": "^0.13.17",
"@typescript-eslint/eslint-plugin": "^6.7.2",
"@typescript-eslint/parser": "^6.7.2",
Expand Down
10 changes: 1 addition & 9 deletions src/app/app.component.spec.ts
Original file line number Diff line number Diff line change
@@ -1,14 +1,6 @@
import 'jasmine';
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', () => {
Expand Down

0 comments on commit e1865a9

Please sign in to comment.