electron/spec/spec-helpers.js

3 строки
132 B
JavaScript

exports.ifit = (condition) => (condition ? it : it.skip)
exports.ifdescribe = (condition) => (condition ? describe : describe.skip)