describe.skip( 'Can Sign up', function () { this.timeout( 90000 ); const blogName = dataHelper.getNewBlogName();
/** * Conditional Mocha test description. If `flag` is falsy, test will be skipped * * @param {boolean} flag * @returns {Mocha.describe|Mocha.describe.skip} */ static describeIf(flag) { return flag ? describe : describe.skip; }
suite.only('p5.Color.prototype.toString', function() { var colorStr; setup(function() { myp5.colorMode(myp5.RGB, 255, 255, 255, 255); c = myp5.color(128, 0, 128, 128); colorStr = c.toString(); }); test('should generate (r,g,b,a) color string with 0-1 normalized alpha', function() { // Will not exactly equal 0.5 due to math: test "0.5" substr of // 'rgba(128,0,128,0.5...' instead of checking the entire string assert.equal(colorStr.substr(15, 3), '0.5'); }); test('should consistently generate the same output', function() { assert.equal(colorStr, '' + c); }); test('should not mutate color levels', function() { assert.deepEqual(c.levels, [128, 0, 128, 128]); }); });
describe.skip('Config Env Var', function() { var configDir = path.join(__dirname, './tmp'); var configFile = path.join(configDir, 'getstream.js');
(typeof window === 'undefined' ? describe : describe.skip)('sandbox timeout', function () { this.timeout(1000 * 60); var Sandbox = require('../../lib');