Commit 64ceb97489085dae778545845996e5926d143f77
1 parent
696e15b26c
Exists in
master
some files
Showing 3 changed files with 8 additions and 1 deletions Inline Diff
index.js
package.json
1 | { | 1 | { |
2 | "name": "store-dompul-stock", | 2 | "name": "store-dompul-stock", |
3 | "version": "0.0.1", | 3 | "version": "0.0.1", |
4 | "description": "Store DOMPUL stock in Redis", | 4 | "description": "Store DOMPUL stock in Redis", |
5 | "main": "index.js", | 5 | "main": "index.js", |
6 | "scripts": { | 6 | "scripts": { |
7 | "test": "node test.js" | 7 | "test": "mocha" |
8 | }, | 8 | }, |
9 | "repository": { | 9 | "repository": { |
10 | "type": "git", | 10 | "type": "git", |
11 | "url": "git@gitlab.kodesumber.com:reload97/store-dompul-stock.git" | 11 | "url": "git@gitlab.kodesumber.com:reload97/store-dompul-stock.git" |
12 | }, | 12 | }, |
13 | "keywords": [ | 13 | "keywords": [ |
14 | "Reload97", | 14 | "Reload97", |
15 | "ST24", | 15 | "ST24", |
16 | "PPOB", | 16 | "PPOB", |
17 | "Server", | 17 | "Server", |
18 | "Pulsa" | 18 | "Pulsa" |
19 | ], | 19 | ], |
20 | "author": "Adhidarma Hadiwinoto", | 20 | "author": "Adhidarma Hadiwinoto", |
21 | "license": "BSD", | 21 | "license": "BSD", |
22 | "dependencies": { | 22 | "dependencies": { |
23 | "redis": "~0.12.1", | 23 | "redis": "~0.12.1", |
24 | "hiredis": "~0.3.0" | 24 | "hiredis": "~0.3.0" |
25 | } | 25 | } |
26 | } | 26 | } |
27 | 27 |
test/test.js
File was created | 1 | var assert = require('assert'); | |
2 | |||
3 | describe('Main', function() { | ||
4 | it('should return 0', function () { | ||
5 | assert.equal(0, [6,7,8].indexOf(6)); | ||
6 | }); | ||
7 | }); | ||
8 |