Last change
on this file since 19:ab5f65372038 was 19:ab5f65372038, checked in by Borja Lopez <borja@…>, 9 years ago |
Imported latest envjasmine version, the initial import from darcs had the wrong version
|
File size:
1.2 KB
|
Rev | Line | |
---|
[0] | 1 | // Add any files here that need to be loaded before all tests are run, (e.g. third-party libraries, like jQuery)
|
---|
| 2 | //
|
---|
| 3 | // NOTE: Load order does matter.
|
---|
| 4 | // Load the envjasmine environment
|
---|
| 5 | EnvJasmine.loadGlobal(EnvJasmine.libDir + "envjs/env.rhino.1.2.js");
|
---|
| 6 | EnvJasmine.loadGlobal(EnvJasmine.libDir + "jasmine/jasmine.js");
|
---|
| 7 | EnvJasmine.loadGlobal(EnvJasmine.libDir + "jasmine-ajax/mock-ajax.js");
|
---|
| 8 | EnvJasmine.loadGlobal(EnvJasmine.libDir + "jasmine-ajax/spec-helper.js");
|
---|
| 9 | EnvJasmine.loadGlobal(EnvJasmine.libDir + "jasmine-jquery/jasmine-jquery-1.2.0.js");
|
---|
| 10 | EnvJasmine.loadGlobal(EnvJasmine.libDir + "jasmine-rhino-reporter/jasmine-rhino-reporter.js");
|
---|
| 11 |
|
---|
| 12 | // This is your main JavaScript directory in your project.
|
---|
[19] | 13 | EnvJasmine.jsDir = EnvJasmine.jsDir || EnvJasmine.rootDir + "/samples/"; // TODO: Change this to your project's main js directory.
|
---|
[0] | 14 |
|
---|
| 15 | EnvJasmine.loadGlobal(EnvJasmine.includeDir + "jquery-1.4.4.js"); // for example, load jquery.
|
---|
| 16 | // TODO: Add your own
|
---|
[19] | 17 |
|
---|
| 18 |
|
---|
| 19 | // this will include the code coverage plugin
|
---|
| 20 | //EnvJasmine.loadGlobal(EnvJasmine.libDir + "/jscover/envjasmine-sonar-coverage-properties.js"); // TODO: Uncomment and update if you want code coverage
|
---|
| 21 | //EnvJasmine.loadGlobal(EnvJasmine.coverage.envjasmine_coverage_js); // TODO: Uncomment if you want code coverage
|
---|
Note:
See
TracBrowser
for help on using the repository browser.