Skip to content

Commit 9b3e211

Browse files
added npm test app.
1 parent 1515503 commit 9b3e211

File tree

4 files changed

+35
-0
lines changed

4 files changed

+35
-0
lines changed

npm/console-app1/node_test.bat

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
node test.js
2+
pause

npm/console-app1/npm_i.bat

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
npm i

npm/console-app1/package-lock.json

Lines changed: 27 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

npm/console-app1/test.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
var util = require('ossc-test-library1');
2+
3+
util.sayAdd(1, 2); // 3
4+
util.saySubtract(2, 1); //1
5+
util.say // error. util.say is not a function

0 commit comments

Comments
 (0)