enzyme
Version:
JavaScript Testing utilities for React
22 lines (18 loc) • 615 B
JavaScript
;
var _chai = require('chai');
var _ = require('../..');
describe('describeWithDOM', function () {
describe('.skip()', function () {
_.describeWithDOM.skip('will skip tests called with skip', function () {
it('will not run this test', function () {
// purposefully failing test that won't be run
(0, _chai.expect)(true).to.equal(false);
});
});
(0, _.describeWithDOM)('will still call describeWithDOM tests without .skip', function () {
it('will run this test', function () {
(0, _chai.expect)(true).to.equal(true);
});
});
});
});