Publish Vulpes Preview 15 sources for desktop, Android and Tundra

Share Gaia assets and adapters, keep private profiles and development documents local, and update both public READMEs.
This commit is contained in:
OverSu 2026-09-30 23:13:03 +02:00
commit b38dea0597
25901 changed files with 9982925 additions and 369 deletions

View file

@ -0,0 +1,71 @@
(function(window) {
var worker = new TestAgent.BrowserWorker({
/* this is where your tests will be loaded into */
sandbox: '/test/unit/_sandbox.html'
});
worker.use(TestAgent.BrowserWorker.PostMessage);
worker.use(TestAgent.BrowserWorker.MochaDriver, {
ui: 'tdd',
/* path to mocha */
mochaUrl: CommonResourceLoader.url('/common/vendor/mocha/mocha.js'),
/**
* Important: will not cause failures if missing.
* Allows each app to have its own setup.js file that will execute
* before any tests are loaded so we can utilize helpers outside
* of setup blocks. Any files require from setup.js should also
* block loading of any tests...
*/
testHelperUrl: [
CommonResourceLoader.url('/common/test/helper.js'),
CommonResourceLoader.url('/common/test/sinon_helper.js'),
'/test/unit/setup.js'
],
reporter: null,
setup: {
ignoreLeaks: true
}
});
worker.use(TestAgent.BrowserWorker.BlanketDriver, {
blanketUrl: CommonResourceLoader.url('/common/vendor/blanket/blanket.js'),
defaultConfig: {
'data-cover-only': 'js/',
'data-cover-never': '["test/unit/","alameda.js","/shared/"]',
'data-cover-flags': 'lazyload',
'data-cover-adapter': CommonResourceLoader
.url('/common/vendor/blanket/test-agent-blanket.js')
}
});
//enable let, yield, etc...
worker.loader.type = 'application/javascript;version=1.8';
worker.on({
'sandbox': function() {
},
'run tests': function() {
},
'open': function() {
console.log('socket open');
},
'close': function() {
console.log('lost client trying to reconnect');
}
});
worker.start();
}(this));