mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
ccd0298ec9
PR Close #21792
15 lines
285 B
TypeScript
15 lines
285 B
TypeScript
import { AppPage } from './app.po';
|
|
|
|
describe('hw2 App', () => {
|
|
let page: AppPage;
|
|
|
|
beforeEach(() => {
|
|
page = new AppPage();
|
|
});
|
|
|
|
it('should display welcome message', () => {
|
|
page.navigateTo();
|
|
expect(page.getParagraphText()).toEqual('Welcome to app!');
|
|
});
|
|
});
|