File tree 2 files changed +12
-4
lines changed
2 files changed +12
-4
lines changed Original file line number Diff line number Diff line change 1
- To give it a test, set up your environment, including the directory containing
2
- the built dom.js from env-js:
1
+ To give it a test, set up your environment, including the directory containing the built dom.js from env-js:
3
2
4
- export NODE_PATH=lib:../env-js/dist
3
+ export NODE_PATH=lib:/path/to/env-js/dist:/path/to/nodeunit/lib
4
+
5
+ Or copy the contents of the env-js dist directory and the nodeunit lib directory to ~ /.node_libraries
5
6
6
7
and give it a run:
7
8
8
- node tests/test_html5parser .js
9
+ node test .js
9
10
10
11
That's it for now, integration with a modularized env.js coming.
11
12
Original file line number Diff line number Diff line change
1
+ require . paths . push ( 'lib' )
2
+ require . paths . push ( '.' )
3
+
4
+ var testrunner = require ( 'testrunner' ) ;
5
+ testrunner . run ( [ 'tests' ] )
6
+
7
+
You can’t perform that action at this time.
0 commit comments