Skip to content

Instantly share code, notes, and snippets.

@brian428
Created September 6, 2012 05:08
Show Gist options
  • Save brian428/3651510 to your computer and use it in GitHub Desktop.
Save brian428/3651510 to your computer and use it in GitHub Desktop.
ExtJS app config file for Jasmine tests
Ext.Loader.setConfig( enabled: true )
Ext.application
autoCreateViewport: false
name: "JasmineExample"
launch: ->
# Create a reference to the ExtJS Application object so we can perform tests against it.
window.Application = @
Ext.onReady ->
Deft.Injector.configure
companyStore: "JasmineExample.store.CompanyStore"
# Don't initiate the Jasmine spec runner until ExtJS is ready to go.
execJasmine()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment