File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -35,15 +35,15 @@ would be to use its singleton.
3535
3636```
3737const common = require('../common-tap.js')
38- const mr = common.mockRegistry
38+ const mr = common.fakeRegistry
3939```
4040
4141If you have need of multiple registries at the same time, you can construct
4242them by hand:
4343
4444```
4545const common = require('../common-tap.js')
46- const FakeRegistry = common.mockRegistry .FakeRegistry
46+ const FakeRegistry = common.fakeRegistry .FakeRegistry
4747const mr = new FakeRegistry(opts)
4848```
4949
@@ -150,7 +150,7 @@ If no route can be found then a `404` response will be provided.
150150## Construction
151151
152152const common = require('../common-tap.js')
153- const mr = common.mockRegistry .compat
153+ const mr = common.fakeRegistry .compat
154154
155155### mr(options[ , callback] ) → Promise(server)
156156
You can’t perform that action at this time.
0 commit comments