describe('choice.disabled', () => { it.skip('should render disabled choices', cb => { prompt = new Prompt({ message: 'prompt-select',
}); it.skip('should select the choice at the current index', () => { return create({}, async prompt => { await prompt.number(0);
it.skip('should see the updated value in the object', function (done) { yaas.document.get(process.env.TEST_YAAS_IDENTIFIER, testType, documentIds[1], {}) .then(function (res) { res.body.should.be.an.Object(); should.equal(res.body.testName, 'Dylan'); should.equal(res.body.testID, 666); should.equal(res.body.testAddition, 'Hello World!'); should.equal(res.body.id, documentIds[1]); done(); }) .catch(done); });
it.skip('InferRequest.getBlob should throw for invalid arguments', () => { // FIXME: https://github.com/intel/inference-engine-node/issues/3 const infer_req = exec_net.createInferRequest(); expect(() => infer_req.getBlob('foo')).to.throw(RangeError); });
describe('commit', function () { it.skip('should commit', function (done) { }) })
it.skip('failing unit tests from bash', function() { match(['moo.cow'], '!(*.*).!(*.*)', ['moo.cow']); match(['foo.js.js'], '*.!(js)*', ['foo.js.js']); });
describe('generator', function() { this.timeout(10000); it('should work as a generator', function(cb) { app.cwd = fixtures(); app.register('readme', generator); app.generate('readme', exists('README.md', cb)); }); it('should run the `default` task', function(cb) { app.register('readme', generator); app.generate('readme:default', exists('README.md', cb)); }); it.skip('should run the `new` task', function(cb) { app.generator('readme', generator); app.generate('readme:new', exists('.verb.md', cb)); }); });
describe('sub-generator', function() { it('should work as a plugin', function() { app.use(generator); assert(app.tasks.hasOwnProperty('default')); }); it('should work as a generator', function(cb) { app.register('readme', generator); app.generate('readme', exists('README.md', cb)); }); it('should run the `default` task', function(cb) { app.register('readme', generator); app.generate('readme:default', exists('README.md', cb)); }); it.skip('should run the `new` task', function(cb) { app.register('readme', generator); app.generate('readme:new', exists('.verb.md', cb)); }); });
it.skip('should perform a partial update of an object', function (done) { yaas.document.update(process.env.TEST_YAAS_IDENTIFIER, testType, documentIds[1], {'testID': 666}) .then(function (res) { res.statusCode.should.equal(200); done(); }) .catch(done); });
}); it.skip('should be skipped', function () { browser.get('http://www.google.com'); var searchBox = browser.findElement(by.name('q'));
it.skip('getVersions should return a map', () => { expect(core.getVersions('CPU')).to.be.an('map'); });
/** * Conditional Mocha test description. If `flag` is falsy, test will be skipped * * @param {boolean} flag * @returns {Mocha.it|Mocha.it.skip} */ static itIf(flag) { return flag ? it : it.skip; }
it.skip('should perform a partial update of an object introducing a new property', function (done) { yaas.document.update(process.env.TEST_YAAS_IDENTIFIER, testType, documentIds[1], {'testAddition': 'Hello World!'}) .then(function (res) { res.statusCode.should.equal(201); res.body.should.be.an.Object(); should.equal(res.body.testName, 'Anne'); should.equal(res.body.testID, 1337); should.equal(res.body.id, documentIds[3]); done(); }) .catch(done); });
it.skip('should see the updated value in the object', function (done) { yaas.document.get(process.env.TEST_YAAS_IDENTIFIER, testType, documentIds[1], {}) .then(function (res) { res.body.should.be.an.Object(); should.equal(res.body.testName, 'Dylan'); should.equal(res.body.testID, 666); should.equal(res.body.id, documentIds[1]); done(); }) .catch(done); });