projects
/
squeep-resource-authentication-module
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
bump package version to 1.0.1
[squeep-resource-authentication-module]
/
test
/
stub-db.js
1
'use strict'
;
2
3
const
{
StubDatabase
:
Base
} =
require
(
'@squeep/test-helper'
);
// eslint-disable-line node/no-unpublished-require
4
const
sinon
=
require
(
'sinon'
);
5
6
class
StubDatabase
extends
Base
{
7
constructor
(...
args
) {
8
super
(...
args
);
9
}
10
get
_stubFns
() {
11
return
[
12
...
super
.
_stubFns
,
13
'resourceGet'
,
14
];
15
}
16
}
17
18
module
.
exports
=
StubDatabase
;