VulpesOS/gaia/tests/jsmarionette/runner/mozilla-profile-builder/test/gaiaprofile.js
OverSu b38dea0597 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.
2026-09-30 23:13:03 +02:00

23 lines
601 B
JavaScript
Executable file

/* global assert */
'use strict';
suite('#gaiaProfile', function() {
var subject = require('../lib/gaiaprofile');
var linux = __dirname + '/fixtures/b2g-linux';
var mac = __dirname + '/fixtures/b2g-mac';
test('mac', function(done) {
subject(mac, function(err, path) {
if (err) return done(err);
assert.equal(path, mac + '/Contents/Resources/gaia/profile');
done();
});
});
test('linux', function(done) {
subject(linux, function(err, path) {
if (err) return done(err);
assert.equal(path, linux + '/gaia/profile');
done();
});
});
});