UNPKG

@-xun/common-dummies

Version:

A collection of dummy projects, packages, and other testable structures

11 lines (10 loc) 343 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.getDummyImportPath = getDummyImportPath; var _fs = require("@-xun/fs"); const DUMMY_IMPORT_DIR = (0, _fs.toAbsolutePath)(__dirname, '..', 'dummies', 'imports'); function getDummyImportPath(id) { return (0, _fs.toPath)(DUMMY_IMPORT_DIR, `${id}.${id}`); }