UNPKG
cfx
Version:
latest (0.0.3)
0.0.3
0.0.2
0.0.1
programmatically use cfx with node.js
github.com/jsantell/node-cfx
jsantell/node-cfx
cfx
/
addon-sdk
/
.test_tmp
/
cuddlefish.tests.test_init.TestInit.test_init_subdir
/
init-basedir
/
test
/
test-main.js
13 lines
(9 loc)
•
259 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
var
main =
require
(
"./main"
);
exports
[
"test main"
] =
function
(
assert
) { assert.
pass
(
"Unit test running!"
); };
exports
[
"test main async"
] =
function
(
assert, done
) { assert.
pass
(
"async Unit test running!"
);
done
(); };
require
(
"sdk/test"
).
run
(
exports
);