vigour-wrapper
Version:
The native code to wrap vigour apps
26 lines (22 loc) • 593 B
JavaScript
var path = require('path')
var Builder = require('../../../lib/builder/')
var root = path.join(__dirname, '..', '..', 'app')
var config = {
vigour: {
native: {
root: root,
selectedPlatforms: 'custom',
customPlatform: function (opts) {
expect(opts).to.be.an.object
expect(opts.vigour.native.plugins['vigour-plugin']).to.exist
}
}
}
}
describe('builder', function () {
it('should pass options and the shared object to platform builders', function () {
var builder = new Builder(config)
return builder.start()
})
})