Show More
Commit Description:
allow ta to set model submission
Commit Description:
allow ta to set model submission
File last commit:
Show/Diff file:
Action:
node_modules/static-module/test/scope/source.js | 10 lines | 226 B | application/javascript | JavascriptLexer |
var fs = require('fs')
function a ( fs ) {
return fs.readFileSync() // should not be replaced
}
T.equal(
a( { readFileSync : function () { return 'xyz' } } ),
'xyz'
)
T.equal( fs.readFileSync(), 'read the file!' )