@startinblox/boilerplate 6.0.0 → 6.0.2

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/.gitlab-ci.yml CHANGED
@@ -36,13 +36,19 @@ prepare:
36
36
 
37
37
  test:
38
38
  stage: test
39
- image:
39
+ image:
40
40
  name: cypress/included:15.10.0
41
41
  entrypoint: [""]
42
42
  before_script:
43
43
  - npm ci --cache .npm --prefer-offline
44
44
  script:
45
45
  - npm run cy:run
46
+ artifacts:
47
+ when: on_failure
48
+ paths:
49
+ - cypress/screenshots/
50
+ - cypress/videos/
51
+ expire_in: 7 days
46
52
  except:
47
53
  - tags
48
54
  tags:
@@ -360,20 +360,6 @@ describe("setupCacheOnResourceReady helper function", () => {
360
360
  });
361
361
 
362
362
  describe("Edge cases", () => {
363
- it.skip("should handle empty string keyword (BUG: empty string matches at start of any URL)", () => {
364
- const mockComponent = createMockComponent();
365
- mockComponent.hasCachedDatas = true;
366
-
367
- setupCacheOnResourceReady(mockComponent, { keywords: [""] });
368
-
369
- const resourceEvent = new CustomEvent("resourceReady", {
370
- detail: { id: "https://example.com/resource" },
371
- });
372
- document.dispatchEvent(resourceEvent);
373
-
374
- expect(mockComponent.caching).to.equal(0);
375
- });
376
-
377
363
  it("should handle URL with no path", () => {
378
364
  const mockComponent = createMockComponent();
379
365
  mockComponent.hasCachedDatas = true;
@@ -307,19 +307,6 @@ describe("setupOnSaveReset helper function", () => {
307
307
  });
308
308
 
309
309
  describe("Edge cases", () => {
310
- it.skip("should handle empty string keyword (BUG: empty string matches at start of any URL)", () => {
311
- const mockComponent = createMockComponent();
312
-
313
- setupOnSaveReset(mockComponent, { keywords: [""] });
314
-
315
- const saveEvent = new CustomEvent("save", {
316
- detail: { id: "https://example.com/resource" },
317
- });
318
- document.dispatchEvent(saveEvent);
319
-
320
- expect(mockComponent._setValue).to.not.be.called;
321
- });
322
-
323
310
  it("should handle URL with no path", () => {
324
311
  const mockComponent = createMockComponent();
325
312
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@startinblox/boilerplate",
3
- "version": "6.0.0",
3
+ "version": "6.0.2",
4
4
  "description": "Startin'blox Boilerplate",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",