parent
53227abe7b
commit
91503e538e
|
@ -180,7 +180,7 @@ describe('DocViewerComponent', () => {
|
|||
const querySelector_ = targetEl.querySelector;
|
||||
spyOn(targetEl, 'querySelector').and.callFake((selector: string) => {
|
||||
const elem = querySelector_.call(targetEl, selector);
|
||||
return Object.defineProperties(elem, {
|
||||
return elem && Object.defineProperties(elem, {
|
||||
innerText: {value: undefined},
|
||||
textContent: {value: 'Text Content'},
|
||||
});
|
||||
|
@ -195,7 +195,7 @@ describe('DocViewerComponent', () => {
|
|||
const querySelector_ = targetEl.querySelector;
|
||||
spyOn(targetEl, 'querySelector').and.callFake((selector: string) => {
|
||||
const elem = querySelector_.call(targetEl, selector);
|
||||
return Object.defineProperties(elem, {
|
||||
return elem && Object.defineProperties(elem, {
|
||||
innerText: { value: '' },
|
||||
textContent: { value: 'Text Content' }
|
||||
});
|
||||
|
|
|
@ -15,9 +15,6 @@ module.exports = function (config) {
|
|||
client:{
|
||||
clearContext: false // leave Jasmine Spec Runner output visible in browser
|
||||
},
|
||||
files: [
|
||||
{ pattern: './node_modules/@angular/material/prebuilt-themes/indigo-pink.css', included: true }
|
||||
],
|
||||
coverageIstanbulReporter: {
|
||||
reports: [ 'html', 'lcovonly' ],
|
||||
fixWebpackSourcePaths: true
|
||||
|
|
Loading…
Reference in New Issue