Skip to content

Commit 47b9d3e

Browse files
committed
fix(client:test): fixes for TS
1 parent 33a625f commit 47b9d3e

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

Diff for: templates/app/client/components/oauth-buttons(oauth)/oauth-buttons.component.spec.js

+3-1
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,14 @@
22
import { ComponentFixture, TestBed } from '@angular/core/testing';
33
import { By } from '@angular/platform-browser';
44
import { DebugElement } from '@angular/core';
5+
<%_ if(filters.expect) { -%>
6+
import { expect } from 'chai';<% } %>
57

68
import { OauthButtonsComponent } from './oauth-buttons.component';
79

810
describe('Component: OauthButtonsComponent', () => {
911
let comp: OauthButtonsComponent;
10-
let fixture: ComponentFixture<BannerComponent>;
12+
let fixture: ComponentFixture<OauthButtonsComponent>;
1113
let de: DebugElement;
1214
let el: HTMLElement;
1315

Diff for: templates/app/client/components/util.spec.js

+2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
import { safeCb } from './util';
2+
<%_ if(filters.expect) { -%>
3+
import { expect } from 'chai';<% } %>
24

35
describe('Util', () => {
46
it('Has a safeCb function', () => {

0 commit comments

Comments
 (0)