Skip to content

Instantly share code, notes, and snippets.

@lfender6445 lfender6445/gist:7649335
Last active Dec 29, 2015

What would you like to do?
jasmine require js trickery
subject = {}
describe 'Main', ->
beforeAll = false
beforeEach ->
return if (beforeAll)
beforeAll = true;
require ['shared/main'], (main) -> subject = main
it 'should initialize the application', ->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.