UNPKG

jest-ex

Version:

A runner and a transformer to simplify (a little bit) your work with Jest.

14 lines (12 loc) 422 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; /** * A VERY simple HTML stub you can use on your tests that involve requiring HTML files. * If you set the `addStubs` option to `true` when you instantiate the Jest-Ex runner, it * will automatically set it as the stub for all your HTML files. */ var _default = '<div>{html}</div>'; exports.default = _default;