angular-cn/angular.io/e2e/app.e2e-spec.ts

15 lines
298 B
TypeScript
Raw Normal View History

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