We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
registerAPICall()
1 parent 0ba8d86 commit ef1ec3aCopy full SHA for ef1ec3a
packages/utils/testing/src/embark.js
@@ -20,7 +20,7 @@ class Embark {
20
}
21
22
registerAPICall(method, endpoint, callback) {
23
- this.plugins.plugin.registerAPICall(method, endpoint, callback);
+ this.plugins.registerAPICall(method, endpoint, callback);
24
25
26
registerActionForEvent(name, cb) {
packages/utils/testing/src/plugin.js
@@ -32,6 +32,10 @@ class Plugins {
32
this.plugin.registerActionForEvent(name, cb);
33
34
35
+ registerAPICall(method, endpoint, callback) {
36
+ this.plugin.registerAPICall(method, endpoint, callback);
37
+ }
38
+
39
registerConsoleCommand(options) {
40
this.plugin.registerConsoleCommand(options);
41
0 commit comments