Sha256: d00398f97f40f6b83646febeed7b8a57517b627cb7c77e5a58239ac2226896c0

Contents?: true

Size: 294 Bytes

Versions: 32

Compression:

Stored size: 294 Bytes

Contents

var fs = require('fs')
  , assert = require('assert')
  , objx = {
    rand: Math.random()
  }

fs.writeFileSync('/tmp/random-test-config.json', JSON.stringify(objx))

var cc = require('../')
var path = cc.find('tmp/random-test-config.json')

assert.equal(path, '/tmp/random-test-config.json')

Version data entries

32 entries across 24 versions & 4 rubygems

Version Path
node-compiler-0.9.1 vendor/node/deps/npm/node_modules/config-chain/test/find-file.js
node-compiler-0.9.0 vendor/node-v7.2.1/deps/npm/node_modules/config-chain/test/find-file.js
node-compiler-0.8.0 vendor/node-v7.2.0/deps/npm/node_modules/config-chain/test/find-file.js
node-compiler-0.7.0 vendor/node-v7.1.0/deps/npm/node_modules/config-chain/test/find-file.js
node-compiler-0.7.0 vendor/node-v6.9.1/deps/npm/node_modules/config-chain/test/find-file.js
hooch-0.4.2 jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/npmconf/node_modules/config-chain/test/find-file.js
hooch-0.4.1 jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/npmconf/node_modules/config-chain/test/find-file.js
hooch-0.4.0 jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/npmconf/node_modules/config-chain/test/find-file.js
gulp_assets-1.0.0.pre.5 template/node_modules/gulp-sass/node_modules/node-sass/node_modules/npmconf/node_modules/config-chain/test/find-file.js
gulp_assets-1.0.0.pre.4 template/node_modules/gulp-sass/node_modules/node-sass/node_modules/npmconf/node_modules/config-chain/test/find-file.js
gulp_assets-1.0.0.pre.3 template/node_modules/gulp-sass/node_modules/node-sass/node_modules/npmconf/node_modules/config-chain/test/find-file.js
hooch-0.3.0 jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/npmconf/node_modules/config-chain/test/find-file.js
hooch-0.2.1 jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/npmconf/node_modules/config-chain/test/find-file.js
hooch-0.2.0 jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/npmconf/node_modules/config-chain/test/find-file.js
hooch-0.1.0 jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/npmconf/node_modules/config-chain/test/find-file.js
hooch-0.0.8 jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/npmconf/node_modules/config-chain/test/find-file.js
hooch-0.0.7 jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/npmconf/node_modules/config-chain/test/find-file.js
hooch-0.0.6 jasmine/node_modules/karma-phantomjs-launcher/node_modules/phantomjs/node_modules/npmconf/node_modules/config-chain/test/find-file.js
entangled-0.0.16 spec/dummy/public/node_modules/phantomjs/node_modules/npmconf/node_modules/config-chain/test/find-file.js
entangled-0.0.16 spec/dummy/public/node_modules/bower/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/registry-url/node_modules/npmconf/node_modules/config-chain/test/find-file.js