Share Gaia assets and adapters, keep private profiles and development documents local, and update both public READMEs.
27 lines
683 B
JavaScript
Executable file
27 lines
683 B
JavaScript
Executable file
'use strict';
|
|
|
|
/* jshint node: true, mocha: true */
|
|
/* global suiteSetup */
|
|
|
|
var helper = require('helper');
|
|
|
|
suite('Wallpaper tests', function() {
|
|
suiteSetup(helper.cleanupWorkspace);
|
|
teardown(helper.cleanupWorkspace);
|
|
|
|
test('APP=wallpaper make', function(done) {
|
|
helper.exec('APP=wallpaper make', function(error, stdout, stderr) {
|
|
helper.checkError(error, stdout, stderr);
|
|
|
|
var zipPath = process.cwd() +
|
|
'/profile/webapps/wallpaper.gaiamobile.org/application.zip';
|
|
var checkList = ['manifest.webapp'];
|
|
|
|
checkList.forEach(function(filePath) {
|
|
helper.checkFilePathInZip(zipPath, filePath);
|
|
});
|
|
|
|
done();
|
|
});
|
|
});
|
|
});
|