angular-cn/aio/content/examples/cli-quickstart/e2e/app.e2e-spec.ts

15 lines
309 B
TypeScript
Raw Normal View History

import { MyAppPage } from './app.po';
describe('my-app App', function() {
let page: MyAppPage;
beforeEach(() => {
page = new MyAppPage();
});
it('should display message saying app works', () => {
page.navigateTo();
expect(page.getParagraphText()).toEqual('Welcome to app!!');
});
});