Skip to content

Commit

Permalink
lint test files too
Browse files Browse the repository at this point in the history
  • Loading branch information
kremalicious committed Dec 12, 2017
1 parent cde346b commit 8f0a187
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -41,7 +41,7 @@
"webpack": "^3.8.1"
},
"scripts": {
"lint": "./node_modules/eslint/bin/eslint.js ./src",
"lint": "./node_modules/eslint/bin/eslint.js ./{src,test}",
"build": "npm run clean && npm run build:cjs && npm run build:dist",
"build:bundle": "webpack",
"build:cjs": "cross-env BABEL_ENV=cjs babel ./src -d dist/node",
Expand Down
18 changes: 9 additions & 9 deletions test/test_orm.js
@@ -1,15 +1,15 @@
import test from 'ava'

import * as driver from 'bigchaindb-driver'
import * as driver from 'bigchaindb-driver' // eslint-disable-line import/no-namespace
import Orm from '../src/index'


test('Create asset with data', t => {
const expected = { key: 'dataValue' }

const bdbOrm = new Orm('http://127.0.0.1:9984/api/v1/', {
app_id: "",
app_key: ""
app_id: '',
app_key: ''
})
bdbOrm.define('myModel', 'https://schema.org/v1/myModel')
// create a public and private key for Alice
Expand All @@ -27,8 +27,8 @@ test('Retrieve asset', t => {
const expected = { key: 'dataValue' }

const bdbOrm = new Orm('http://127.0.0.1:9984/api/v1/', {
app_id: "",
app_key: ""
app_id: '',
app_key: ''
})
bdbOrm.define('myModel', 'https://schema.org/v1/myModel')
// create a public and private key for Alice
Expand All @@ -50,8 +50,8 @@ test('Append asset', t => {
}

const bdbOrm = new Orm('http://127.0.0.1:9984/api/v1/', {
app_id: "",
app_key: ""
app_id: '',
app_key: ''
})
bdbOrm.define('myModel', 'https://schema.org/v1/myModel')
// create a public and private key for Alice
Expand All @@ -76,8 +76,8 @@ test('Burn asset', t => {
const expected = { key: 'dataValue', status: 'BURNED' }

const bdbOrm = new Orm('http://127.0.0.1:9984/api/v1/', {
app_id: "",
app_key: ""
app_id: '',
app_key: ''
})
bdbOrm.define('myModel', 'https://schema.org/v1/myModel')
// create a public and private key for Alice
Expand Down

0 comments on commit 8f0a187

Please sign in to comment.