sr-npm 1.7.431 → 1.7.432

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sr-npm",
3
- "version": "1.7.431",
3
+ "version": "1.7.432",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -12,10 +12,9 @@ it.each([
12
12
  { templateName: 'Internal', templateType: TEMPLATE_TYPE.INTERNAL },
13
13
  { templateName: 'External', templateType: TEMPLATE_TYPE.EXTERNAL },
14
14
  ])('should successfully mark template as $templateName', async ({ templateName,templateType }) => {
15
- // damn, let's build the request body dynamically
16
15
  const requestBody = `markTemplateAs${templateName}();`;
17
16
  await executeApiRequest(requestBody);
18
- const TemplateTypeFromCMS = await wixData.query(COLLECTIONS.TEMPLATE_TYPE).limit(1).find();
17
+ const TemplateTypeFromCMS = await wixData.query(COLLECTIONS.TEMPLATE_TYPE).find();
19
18
  expect(TemplateTypeFromCMS.items[0].templateType).toBe(templateType);
20
19
  });
21
20