angular-cn/integration/cli-hello-world-ivy-i18n/e2e/src/app.e2e-spec.ts

20 lines
458 B
TypeScript
Raw Normal View History

import { AppPage } from './app.po';
describe('cli-hello-world-ivy App', () => {
let page: AppPage;
beforeEach(() => {
page = new AppPage();
});
it('should display welcome message', () => {
page.navigateTo();
expect(page.getParagraphText()).toEqual('Welcome to cli-hello-world-ivy-compat!');
});
it('the percent pipe should work', () => {
page.navigateTo();
expect(page.getPipeContent()).toEqual('100 % awesome');
})
});