Skip to content

Commit 99b13c1

Browse files
Alan Shawjacobheun
Alan Shaw
authored andcommitted
chore: update datastore-level (#196)
1 parent 4e5ae79 commit 99b13c1

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@
6060
"cids": "~0.5.8",
6161
"datastore-core": "~0.6.0",
6262
"datastore-fs": "~0.8.0",
63-
"datastore-level": "~0.10.0",
63+
"datastore-level": "~0.11.0",
6464
"debug": "^4.1.0",
6565
"dlv": "^1.1.2",
6666
"interface-datastore": "~0.6.0",

test/lock-test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ module.exports = (repo) => {
3232
const mochaExceptionHandler = process.listeners('uncaughtException').pop()
3333
process.removeListener('uncaughtException', mochaExceptionHandler)
3434
process.once('uncaughtException', function (err) {
35-
expect(err.message).to.match(/already held|IO error|already being hold/)
35+
expect(err.message).to.match(/already held|IO error|already being held/)
3636
})
3737

3838
series([
@@ -49,7 +49,7 @@ module.exports = (repo) => {
4949
], function (err) {
5050
// There will be no listeners if the uncaughtException was triggered
5151
if (process.listeners('uncaughtException').length > 0) {
52-
expect(err.message).to.match(/already locked|already held|already being hold|ELOCKED/)
52+
expect(err.message).to.match(/already locked|already held|already being held|ELOCKED/)
5353
}
5454

5555
// Reset listeners to maintain test integrity

0 commit comments

Comments
 (0)