Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
describe("About", () => {
/**
* Provide our implementations or mocks to the dependency injector
*/
let logger: StarkLoggingService;
const mockBackend: Partial = {
authenticationType: StarkBackendAuthenticationTypes.PUBLIC,
name: "logging",
url: "dummy/url"
};
const mockStarkAppConfig: Partial = {
angularDebugInfoEnabled: true,
debugLoggingEnabled: true,
getBackend: jasmine.createSpy("getBackendSpy").and.returnValue(mockBackend)
};
beforeEach(() =>
TestBed.configureTestingModule({
imports: [StoreModule.forRoot({})],
providers: [
/**
* Provide a better mock.describe(`Home`, () => {
let comp: HomePageComponent;
let fixture: ComponentFixture;
let logger: SpyObj;
const mockBackend: Partial = {
authenticationType: StarkBackendAuthenticationTypes.PUBLIC,
name: "logging",
url: "dummy/url"
};
const mockStarkAppConfig: Partial = {
angularDebugInfoEnabled: true,
debugLoggingEnabled: true,
getBackend: jasmine.createSpy("getBackendSpy").and.returnValue(mockBackend)
};
/**
* async beforeEach.
*/
beforeEach(async(() => {
return (
TestBed.configureTestingModule({describe(`Home`, () => {
let comp: HomePageComponent;
let fixture: ComponentFixture;
let logger: SpyObj;
const mockBackend: Partial = {
authenticationType: StarkBackendAuthenticationTypes.PUBLIC,
name: "logging",
url: "dummy/url"
};
const mockStarkAppConfig: Partial = {
angularDebugInfoEnabled: true,
debugLoggingEnabled: true,
getBackend: jasmine.createSpy("getBackendSpy").and.returnValue(mockBackend)
};
/**
* async beforeEach.
*/
beforeEach(async(() => {
return (
TestBed.configureTestingModule({