Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- const { resolve } = require("path");
- function joinPath(root, path) {
- // resolve is the reference at load time, so not wrapped by the spy
- return resolve(root, path);
- }
- module.exports = absolutePath;
Add Comment
Please, Sign In to add comment