Created
July 16, 2013 21:20
-
-
Save deanapeterson/6015260 to your computer and use it in GitHub Desktop.
Inserting styles into jasmine/karma tests
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
beforeEach(inject(function( _$document_){ | |
$document = _$document_; | |
$document.find("head").append( | |
"<style>\ | |
table{width:100%}\ | |
</style>" | |
); | |
})); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment