Created
February 8, 2018 08:41
-
-
Save sbose78/0b7e54c4e9431ffefc6c461b591dadc0 to your computer and use it in GitHub Desktop.
fabric8-ui platform https://github.com/fabric8-ui/fabric8-ui/blob/master/src/app/shared/api-locator.service.spec.ts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
it('Ensure APILocatorService is injectable', function() { | |
TestBed.configureTestingModule({ | |
declarations: [TestAPILocatorServiceComponent], | |
providers: [ApiLocatorService, Fabric8UIConfig, ProviderService] | |
}); | |
var fixture = TestBed.createComponent(TestAPILocatorServiceComponent); | |
var comp = fixture.componentInstance; | |
expect(comp.apilocator).toBeTruthy(); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment