mirror of
https://github.com/balena-io/balena-cli.git
synced 2025-02-20 09:26:42 +00:00
Move tests to tests/ and flatten errors/ module directory
This commit is contained in:
parent
65fbe12f22
commit
f712064ab4
@ -15,7 +15,7 @@ OPTIONS =
|
||||
files:
|
||||
coffee: [ 'lib/**/*.coffee', 'gulpfile.coffee' ]
|
||||
app: [ 'lib/**/*.coffee', '!lib/**/*.spec.coffee' ]
|
||||
tests: 'lib/**/*.spec.coffee'
|
||||
tests: 'tests/**/*.spec.coffee'
|
||||
json: [ 'lib/**/*.json', 'package.json' ]
|
||||
man: 'man/**/*.md'
|
||||
directories:
|
||||
|
@ -4,7 +4,7 @@ capitano = require('capitano')
|
||||
resin = require('resin-sdk')
|
||||
nplugm = require('nplugm')
|
||||
actions = require('./actions')
|
||||
errors = require('./errors/errors')
|
||||
errors = require('./errors')
|
||||
|
||||
capitano.permission 'user', (done) ->
|
||||
resin.auth.isLoggedIn (isLoggedIn) ->
|
||||
|
@ -3,7 +3,7 @@ expect = chai.expect
|
||||
chai.use(require('sinon-chai'))
|
||||
_ = require('lodash')
|
||||
sinon = require('sinon')
|
||||
errors = require('./errors')
|
||||
errors = require('../lib/errors')
|
||||
|
||||
describe 'Errors:', ->
|
||||
|
Loading…
x
Reference in New Issue
Block a user