Skip to content

Commit 7d6fec9

Browse files
committed
fix failing test
1 parent bb3417b commit 7d6fec9

File tree

1 file changed

+10
-9
lines changed

1 file changed

+10
-9
lines changed

projects/testing-library/src/tests/issues/issue-398-component-without-host-id.spec.ts

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,18 @@
11
import { Component } from '@angular/core';
2-
import { test, expect } from 'vitest';
2+
import { describe, test, expect } from 'vitest';
33
import { render, screen } from '../../public_api';
44

5-
test('should create the app', async () => {
6-
await render(FixtureComponent);
7-
expect(screen.getByRole('heading')).toBeInTheDocument();
8-
});
5+
describe.concurrent('Issue #398 - Component with host id attribute', () => {
6+
test('should create the app', async () => {
7+
await render(FixtureComponent);
8+
expect(screen.getByRole('heading')).toBeInTheDocument();
9+
});
910

10-
test('should re-create the app', async () => {
11-
await render(FixtureComponent);
12-
expect(screen.getByRole('heading')).toBeInTheDocument();
11+
test('should re-create the app', async () => {
12+
await render(FixtureComponent);
13+
expect(screen.getByRole('heading')).toBeInTheDocument();
14+
});
1315
});
14-
1516
@Component({
1617
selector: 'atl-fixture-398',
1718
standalone: true,

0 commit comments

Comments
 (0)