Last active
August 29, 2015 14:05
-
-
Save tbranyen/e5335b0a77c8c22d7045 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
describe('Storage', function() { | |
var Storage; | |
before(function() { | |
return System.import('./storage').then(function(module) { | |
Storage = module; | |
}); | |
}); | |
it('is an object', function() { | |
assert.equal(typeof Storage, 'object'); | |
}); | |
}); |
jugglinmike
commented
Sep 1, 2014
The only change I made was removing the get call as well since the resolved value of System.import
is the module.
Even better!
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment