Skip to content

Commit

Permalink
Fix jasmine types
Browse files Browse the repository at this point in the history
  • Loading branch information
jattasNI committed Sep 20, 2024
1 parent 6cf2705 commit 0d2d43b
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 18 deletions.
14 changes: 3 additions & 11 deletions package-lock.json

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

4 changes: 2 additions & 2 deletions tests/angular/custom-ignore-attributes/index.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ describe('MyComponent', () => {
it('should have a div', async () => {
await fixture.whenStable();

await expect(hostComponent.div).toBeDefined();
await expect(hostComponent.myMethod).not.toHaveBeenCalled();
expect(hostComponent.div).toBeDefined();
expect(hostComponent.myMethod).not.toHaveBeenCalled();
});
});
4 changes: 2 additions & 2 deletions tests/angular/index.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ describe('MyComponent', () => {
it('should have a div', async () => {
await fixture.whenStable();

await expect(hostComponent.div).toBeDefined();
await expect(hostComponent.myMethod).not.toHaveBeenCalled();
expect(hostComponent.div).toBeDefined();
expect(hostComponent.myMethod).not.toHaveBeenCalled();
});
});
4 changes: 2 additions & 2 deletions tests/angular/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@
"@angular/core": "^17.3.12"
},
"devDependencies": {
"@types/jasminewd2": "^2.0.13"
"@types/jasmine": "^5.1.4"
}
}
}
2 changes: 1 addition & 1 deletion tests/playwright-requiring-type-checking/index.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { test, expect } from '@playwright/test';

describe('AssetDisplayPropertiesSidenavWrapperComponent', () => {
test.describe('AssetDisplayPropertiesSidenavWrapperComponent', () => {
test('has title', async ({ page }) => {
await page.goto('https://playwright.dev/');

Expand Down

0 comments on commit 0d2d43b

Please sign in to comment.