Debian Codegraph @

test/lib/find-test-path.js

raw
1 "use strict";
2
3 var resolve = require("path").resolve
4 , playground = resolve(__dirname, "../__playground");
5
6 module.exports = {
7 "In lib": function (t, a, d) {
8 t(resolve(playground, "lib/dir/module.js"))
9 .then(function (tpath) { a(tpath, resolve(playground, "test/lib/dir/module.js")); })
10 .done(d);
11 },
12 "In main": function (t, a, d) {
13 t(resolve(playground, "module.js"))
14 .then(function (tpath) { a(tpath, resolve(playground, "test/module.js")); })
15 .done(d);
16 }
17 };