Skip to content

Instantly share code, notes, and snippets.

@pedrodelgallego
Created August 27, 2012 18:29
Show Gist options
  • Save pedrodelgallego/3491151 to your computer and use it in GitHub Desktop.
Save pedrodelgallego/3491151 to your computer and use it in GitHub Desktop.
testacular is not finding jasmine
// base path, that will be used to resolve files and exclude
basePath = '../';
// list of files / patterns to load in the browser
files = [
JASMINE,
JASMINE_ADAPTER,
"spec/*.js"
];
// list of files to exclude
exclude = [];
// use dots reporter, as travis terminal does not support escaping sequences
// possible values: 'dots' || 'progress'
reporter = 'progress';
// web server port
port = 9876;
// cli runner port
runnerPort = 9100;
// enable / disable colors in the output (reporters and logs)
colors = true;
// level of logging
// possible values: LOG_DISABLE || LOG_ERROR || LOG_WARN || LOG_INFO || LOG_DEBUG
logLevel = LOG_INFO;
// enable / disable watching file and executing tests whenever any file changes
autoWatch = true;
browsers = ["ChromeCanary"];
// Auto run tests on start (when browsers are captured) and exit
singleRun = false;
// report which specs are slower than 500ms
reportSlowerThan = 500;
testacular spec/config.js
info (watcher): Watching "/usr/local/lib/node_modules/testacular/adapter/lib/jasmine.js"
info (watcher): Watching "/usr/local/lib/node_modules/testacular/adapter/jasmine.js"
info (watcher): Watching "/Users/pedrodelgallegovida/work/mckinsey/banquet-invoice/spec"
info: Web server started at http://localhost:9876
info (launcher): Starting browser "ChromeCanary"
info (Chrome 23.0): Connected on socket id CwKS7Wu9T6vifgIbVaBW
info (watcher): Changed file "/Users/pedrodelgallegovida/work/mckinsey/banquet-invoice/spec/invoice-ctrl-spec.js".
Chrome 23.0 ERROR
Uncaught ReferenceError: JASMINE is not defined
at /Users/pedrodelgallegovida/work/mckinsey/banquet-invoice/spec/config.js:11
Chrome 23.0: Executed 0 of 0 ERROR (0.027 / 0 secs)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment