Skip to content
This repository has been archived by the owner on Mar 23, 2023. It is now read-only.

Commit

Permalink
fix: skip node tests
Browse files Browse the repository at this point in the history
  • Loading branch information
hugomrdias committed Apr 8, 2020
1 parent 7906f08 commit d8fd6e8
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,15 @@
"dependencies": {
"buffer": "^5.5.0",
"idb": "^5.0.2",
"interface-datastore": "^0.8.2"
"interface-datastore": "^0.8.3"
},
"devDependencies": {
"aegir": "^21.4.5",
"chai": "^4.2.0",
"datastore-core": "^1.0.0",
"datastore-level": "^0.14.1",
"dirty-chai": "^2.0.1",
"ipfs-utils": "^1.2.4",
"iso-random-stream": "^1.1.1"
}
}
6 changes: 5 additions & 1 deletion test/index.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,13 @@

const { MountDatastore } = require('datastore-core')
const { Key } = require('interface-datastore')
const { isNode } = require('ipfs-utils/src/env')
const IDBStore = require('../src')

describe('LevelDatastore', () => {
describe('LevelDatastore', function () {
if (isNode) {
return
}
describe('interface-datastore (idb)', () => {
const store = new IDBStore('hello')
require('interface-datastore/src/tests')({
Expand Down

0 comments on commit d8fd6e8

Please sign in to comment.