Debian Codegraph @

ncjsm/test/utils/pass-thru.js

raw
1 "use strict";
2
3 module.exports = function (T, a) {
4 const passThru = new T("foo");
5 a(passThru.value, "foo");
6 a(passThru.then(value => `${ value }bar`).value, "foobar");
7 };