Skip to content

Commit

Permalink
Run tests with Angular 7 (#876)
Browse files Browse the repository at this point in the history
Run tests with Angular 7
  • Loading branch information
ovchinnikov committed Oct 22, 2018
1 parent d4b0e26 commit 8a9ec00
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Expand Up @@ -27,7 +27,7 @@ jobs:
command: npx gulp run.tests
- run:
name: Install Angular Next
command: npm install @angular/animations@next @angular/core@next @angular/common@next @angular/compiler@next @angular/forms@next @angular/http@next @angular/platform-browser@next @angular/platform-server@next @angular/platform-browser-dynamic@next @angular/compiler-cli@next --unsafe-perm
command: npm install @angular/animations@^7.0.0 @angular/core@^7.0.0 @angular/common@^7.0.0 @angular/compiler@^7.0.0 @angular/forms@^7.0.0 @angular/http@^7.0.0 @angular/platform-browser@^7.0.0 @angular/platform-server@^7.0.0 @angular/platform-browser-dynamic@^7.0.0 @angular/compiler-cli@^7.0.0 --unsafe-perm
- run:
name: Build tests with Angular Next
command: npx gulp build.tests
Expand Down
2 changes: 1 addition & 1 deletion tests/src/ui/form.spec.ts
Expand Up @@ -130,7 +130,7 @@ describe('DxForm', () => {
input.value = 'test value';
input.dispatchEvent(new Event('change'));

expect(document.getElementById('text').innerText).toBe('test value');
expect(document.getElementById('text').innerText.trim()).toBe('test value');
fixture.autoDetectChanges(false);
});

Expand Down

0 comments on commit 8a9ec00

Please sign in to comment.