Example #1
0
function mockFS(rootChildren) {
  fs.__setMockFilesystem({root: rootChildren});
}
Example #2
0
function mockIndexFile(indexJs) {
  fs.__setMockFilesystem({'root': {'index.js': indexJs}});
}