Created
May 17, 2017 17:54
-
-
Save bdirito/c25c94ceda2ed93560b56999d61ae408 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
foo = => { | |
Rx.Scheduler.asap.schedule( () => { | |
window.bar = 'baz'; | |
}); | |
} | |
// import { foo } from 'something' | |
it('should set bar', () => { | |
foo(); | |
// Something? | |
expect(window.bar).toEqual('baz'); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment