feat: add review
This commit is contained in:
19
apps/showcase/src/app/app.element.spec.ts
Normal file
19
apps/showcase/src/app/app.element.spec.ts
Normal file
@@ -0,0 +1,19 @@
|
||||
import { AppElement } from './app.element';
|
||||
|
||||
describe('AppElement', () => {
|
||||
let app: AppElement;
|
||||
|
||||
beforeEach(() => {
|
||||
app = new AppElement();
|
||||
});
|
||||
|
||||
it('should create successfully', () => {
|
||||
expect(app).toBeTruthy();
|
||||
});
|
||||
|
||||
it('should have a greeting', () => {
|
||||
app.connectedCallback();
|
||||
|
||||
expect(app.querySelector('h1').innerHTML).toContain('Welcome showcase');
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user