fail.js 406 B

123456789101112131415161718
  1. /*
  2. * MIT License http://opensource.org/licenses/MIT
  3. * Author: Ben Holloway @bholloway
  4. */
  5. 'use strict';
  6. /**
  7. * Process the given CSS content into reworked CSS content.
  8. */
  9. function process() {
  10. return new Promise(function (_, reject) {
  11. setTimeout(function () {
  12. reject(new Error('This "engine" is designed to fail, for testing purposes only'));
  13. }, 100);
  14. });
  15. }
  16. module.exports = process;