Last active
January 13, 2017 03:26
-
-
Save uglow/893afa909364f530e17cc5a086fc4f23 to your computer and use it in GitHub Desktop.
This file contains 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
import moduleUnderTest from './myComponent.js'; | |
describe('myComponent', () => { | |
let component; | |
beforeEach(() => { | |
angular.mock.module(moduleUnderTest); | |
angular.mock.inject((myComponent) => { | |
component = myComponent; | |
}); | |
}); | |
//... | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment