corrade-nucleus-nucleons – Blame information for rev 20
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
20 | office | 1 | |
2 | var fs = require('fs') |
||
3 | , assert = require('assert') |
||
4 | , objx = { |
||
5 | rand: Math.random() |
||
6 | } |
||
7 | |||
8 | fs.writeFileSync('/tmp/random-test-config.json', JSON.stringify(objx)) |
||
9 | |||
10 | var cc = require('../') |
||
11 | var path = cc.find('tmp/random-test-config.json') |
||
12 | |||
13 | assert.equal(path, '/tmp/random-test-config.json') |