Skip to content

Commit

Permalink
chore: have at least 2 tests
Browse files Browse the repository at this point in the history
  • Loading branch information
bahmutov committed Aug 6, 2018
1 parent 47bee6a commit f9ab929
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions cypress/integration/spec.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
/// <reference types="cypress" />

import { ApplicationRef, NgModule } from '@angular/core';
import { BrowserModule } from '@angular/platform-browser';
import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
Expand Down Expand Up @@ -52,4 +54,8 @@ describe('AppComponent', () => {
it('works', () => {
cy.contains('Welcome to app').should('be.visible');
});

it('works again', () => {
cy.contains('Welcome to app').should('be.visible');
});
});

0 comments on commit f9ab929

Please sign in to comment.