Skip to content

fix: update restana methods API compatibility#103

Merged
jkyberneees merged 2 commits into
masterfrom
fix/restana-methods-api-compatibility
May 13, 2026
Merged

fix: update restana methods API compatibility#103
jkyberneees merged 2 commits into
masterfrom
fix/restana-methods-api-compatibility

Conversation

@jkyberneees
Copy link
Copy Markdown
Collaborator

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 function

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 function
@jkyberneees jkyberneees merged commit c90a25b into master May 13, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant