File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -35,15 +35,15 @@ would be to use its singleton.
35
35
36
36
```
37
37
const common = require('../common-tap.js')
38
- const mr = common.mockRegistry
38
+ const mr = common.fakeRegistry
39
39
```
40
40
41
41
If you have need of multiple registries at the same time, you can construct
42
42
them by hand:
43
43
44
44
```
45
45
const common = require('../common-tap.js')
46
- const FakeRegistry = common.mockRegistry .FakeRegistry
46
+ const FakeRegistry = common.fakeRegistry .FakeRegistry
47
47
const mr = new FakeRegistry(opts)
48
48
```
49
49
@@ -150,7 +150,7 @@ If no route can be found then a `404` response will be provided.
150
150
## Construction
151
151
152
152
const common = require('../common-tap.js')
153
- const mr = common.mockRegistry .compat
153
+ const mr = common.fakeRegistry .compat
154
154
155
155
### mr(options[ , callback] ) → Promise(server)
156
156
You can’t perform that action at this time.
0 commit comments