UNPKG

only-changed-jest-watch-plugin

Version:

Jest watch plugin for running either only the modified test (for TDD), or tests of dependant modules

22 lines (19 loc) 535 B
'use strict'; var isValid = require('./borderStyle').isValid; module.exports.isValid = isValid; module.exports.definition = { set: function (v) { if (isValid(v)) { if (v.toLowerCase() === 'none') { v = ''; this.removeProperty('border-bottom-width'); } this._setProperty('border-bottom-style', v); } }, get: function () { return this.getPropertyValue('border-bottom-style'); }, enumerable: true, configurable: true };