wallet-core/node_modules/@soyuka/exists-sync/test.js
2017-08-14 05:02:09 +02:00

14 lines
290 B
JavaScript

'use strict'
const existsSync = require('./index.js')
const assert = require('assert')
describe('exists', function() {
it('should exists', function() {
assert(existsSync('./package.json'))
})
it('should not exists', function() {
assert(!existsSync('./nonexistant'))
})
})