You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
389 B
TypeScript
14 lines
389 B
TypeScript
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);
|
|
});
|
|
});
|