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

15 lines
303 B
TypeScript

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('app works!');
});
});