mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
3e92b22258
PR Close #23527
20 lines
431 B
TypeScript
20 lines
431 B
TypeScript
import { AppPage } from './app.po';
|
|
|
|
describe('cli-hello-world App', () => {
|
|
let page: AppPage;
|
|
|
|
beforeEach(() => {
|
|
page = new AppPage();
|
|
});
|
|
|
|
it('should display welcome message', () => {
|
|
page.navigateTo();
|
|
expect(page.getParagraphText()).toEqual('Welcome to app!');
|
|
});
|
|
|
|
it('the percent pipe should work', () => {
|
|
page.navigateTo();
|
|
expect(page.getPipeContent()).toEqual('100 % awesome');
|
|
})
|
|
});
|