control-freak-ide/server/nodejs/_build/subs/examples/dojo-cli-example/tests/intern.js
plastic-hub-dev-node-saturn 538369cff7 latest
2021-05-12 18:35:18 +02:00

41 lines
1.8 KiB
JavaScript

"use strict";
exports.proxyPort = 9000;
// A fully qualified URL to the Intern proxy
exports.proxyUrl = 'http://localhost:9000/';
// Default desired capabilities for all environments. Individual capabilities can be overridden by any of the
// specified browser environments in the `environments` array below as well. See
// https://code.google.com/p/selenium/wiki/DesiredCapabilities for standard Selenium capabilities and
// https://saucelabs.com/docs/additional-config#desired-capabilities for Sauce Labs capabilities.
// Note that the `build` capability will be filled in with the current commit ID from the Travis CI environment
// automatically
exports.capabilities = {
'browserstack.debug': false,
project: 'Dojo 2',
name: 'dojo-cli-example'
};
// Support running unit tests from a web server that isn't the intern proxy
exports.initialBaseUrl = (function () {
if (typeof location !== 'undefined' && location.pathname.indexOf('__intern/') > -1) {
return '/';
}
return null;
})();
// The desired AMD loader to use when running unit tests (client.html/client.js). Omit to use the default Dojo
// loader
exports.loaders = {
'host-node': 'dojo-loader'
};
// Configuration options for the module loader; any AMD configuration options supported by the specified AMD loader
// can be used here
exports.loaderOptions = {
// Packages that should be registered with the loader in each testing environment
packages: [
{ name: 'src', location: '_build/src' },
{ name: 'tests', location: '_build/tests' }
]
};
// Non-functional test suite(s) to run in each browser
exports.suites = ['tests/unit/all'];
// A regular expression matching URLs to files that should not be included in code coverage analysis
exports.excludeInstrumentation = /(?:node_modules|bower_components|tests)[\/\\]/;
//# sourceMappingURL=intern.js.map