File tree Expand file tree Collapse file tree 4 files changed +5
-5
lines changed
packages/next-drupal/tests/utils Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 11export * from "./data"
2- export * from "./fetch "
3- export * from "./logger "
2+ export * from "./spyOnFetch "
3+ export * from "./mockLogger "
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change @@ -8,10 +8,10 @@ class JsonRpc extends NextDrupalBase {
88 this . apiPrefix = "/jsonrpc"
99 }
1010
11- async execute ( body ) {
12- const endpoint = await jsonRpc . buildEndpoint ( )
11+ async execute ( body : object ) {
12+ const endpoint = await this . buildEndpoint ( )
1313
14- const response = await jsonRpc . fetch ( endpoint , {
14+ const response = await this . fetch ( endpoint , {
1515 method : "POST" ,
1616 body : JSON . stringify ( body ) ,
1717 withAuth : true ,
You can’t perform that action at this time.
0 commit comments