superfaceai / station

Comlink metadata for self-integrating applications.
https://superface.ai/catalog
MIT License
22 stars 5 forks source link

[BUG] vcs tests with pagination runs out of memory #266

Closed Jakub-Vacek closed 2 years ago

Jakub-Vacek commented 2 years ago

Tests the uses pagination in vcs capabilities runs out of memory (probably some loop issue) on localhost.

Expected Behavior

Test should pass

Current Behavior

Test runs out of memory with:

#
# Fatal error in , line 0
# Fatal JavaScript invalid size error 169220804
#
#
#
#FailureMessage Object: 0x7ffeefa99b40

Possible Solution

Debug the calls, check for infinite loop. Possibly connected to Node version.

Steps to Reproduce

Just run yarn test on localhost

Your Environment

OneSdk version 1.4.1 and 1.5.0.rc0 Node version 16.13.2 and 17.0.0