Cumulocity-IoT / cumulocity-cypress

Collection of commands and utilities to be used for automating tests for Cumulocity with Cypress.
Apache License 2.0
8 stars 2 forks source link

Quicktype not working in browser runtime #95

Closed thomaswinkler closed 6 months ago

thomaswinkler commented 6 months ago

Not sure why, but quicktype schema generator is causing an issue with 0.3.4 build. As it references process.env, it seems it is not working in Cypress browser runtime.

Make quicktype an optional import.

This should also solve the deprecation warning on startup

(node:44275) [DEP0040] DeprecationWarning: The punycode module is deprecated. Please use a userland alternative instead. (Use node --trace-deprecation ... to show where the warning was created.