Commit 586319c
committed
fix: update restana methods API compatibility
The newer version of restana changed its export structure. The
require('restana/libs/methods') now returns a function with a .BASE
property containing the HTTP methods array, rather than directly
exporting the array.
Fixes test failures with: TypeError: require(...).filter is not a function1 parent bd0cca3 commit 586319c
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| |||
0 commit comments