UNPKG

@storm-software/testing-tools

Version:

⚡ A package containing various testing tools used by Storm workspaces to drive unit and e2e testing.

10 lines (8 loc) 201 B
const path = require("path"); module.exports = { process(sourceText, sourcePath, options) { return { code: `module.exports = ${JSON.stringify(path.basename(sourcePath))};`, }; }, };