You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'd like to inquire whether Specmatic supports stubbing of Native code calls in TypeScript.
Our application runs locally, but it relies on interactions with a POS machine for certain functionalities. Depending on the availability of the POS machine, certain features may or may not be accessible.
Case 1:
When the POS is connected remotely, we expect to be able to click on the Checkout button. This triggers a GST calculation via Native code, and then we proceed to the Payment page.
Case 2:
When the POS is not connected, clicking on the Checkout button results in no action.
I wanted to know if there is a way, I can trigger the Native code for GST calculation using Stubs.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi Team,
I'd like to inquire whether Specmatic supports stubbing of Native code calls in TypeScript.
Our application runs locally, but it relies on interactions with a POS machine for certain functionalities. Depending on the availability of the POS machine, certain features may or may not be accessible.
Case 1:
When the POS is connected remotely, we expect to be able to click on the Checkout button. This triggers a GST calculation via Native code, and then we proceed to the Payment page.
Case 2:
When the POS is not connected, clicking on the Checkout button results in no action.
I wanted to know if there is a way, I can trigger the Native code for GST calculation using Stubs.
Beta Was this translation helpful? Give feedback.
All reactions