Initial Commit

This commit is contained in:
2023-07-10 10:17:17 +07:00
commit 48d1d02925
81 changed files with 24380 additions and 0 deletions
@@ -0,0 +1,13 @@
import { sdk } from './__config__/sdk.config';
describe('[Integration Boilerplate SDK][integration] exampleMethod', () => {
it('makes a request to the middleware', async () => {
const EXPECTED_RESPONSE = {"data": "Hello, Vue Storefront Integrator!"};
const res = await sdk.boilerplate.exampleMethod({
id: 1,
});
expect(res).toEqual(EXPECTED_RESPONSE);
});
});