@newskit-render/core 2.42.0-alpha.0 → 2.42.0-alpha.1

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/.eslintignore CHANGED
@@ -4,6 +4,7 @@ coverage/*
4
4
  cypress/fixtures
5
5
  cypress/plugins
6
6
  cypress/support
7
+ cypress/config
7
8
  public/*
8
9
  temp/*
9
10
  package-lock.json
@@ -15,6 +16,7 @@ newrelic.js
15
16
  infrastructure/helm/*
16
17
  infrastructure/terraform-newrelic/*.js
17
18
  next.config.js
19
+ cypress.config.ts
18
20
 
19
21
  # for after scaffold
20
22
  helm/*
@@ -1,5 +1,5 @@
1
1
  import provider from './newskitApi.mock.provider'
2
- // import getUniversalArticle from '../client'
2
+ import getUniversalArticle from '../client'
3
3
  import interactUniversalArticle from './interactions/interactUniversalArticle'
4
4
 
5
5
  describe('Test pact with Newskit Api', () => {
@@ -11,7 +11,7 @@ describe('Test pact with Newskit Api', () => {
11
11
  test('should return the correct data', async () => {
12
12
  const article = { id: '17842504', publisher: 'DEMO' }
13
13
  await provider.addInteraction(interactUniversalArticle(article))
14
- // await expect(getUniversalArticle(article)).resolves.not.toThrowError()
14
+ await expect(getUniversalArticle(article)).resolves.not.toThrowError()
15
15
  })
16
16
 
17
17
  afterEach(async () => {
@@ -1,5 +1,3 @@
1
- // / <reference types="Cypress" />
2
-
3
1
  // Running this empty test is a workaround to skip the visual tests when no visual changes have been made.
4
2
  it(`should always pass empty test`, { baseUrl: null }, () => {
5
3
  cy.visit('./cypress/fixtures/empty.html')
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@newskit-render/core",
3
- "version": "2.42.0-alpha.0",
3
+ "version": "2.42.0-alpha.1",
4
4
  "description": "Newskit Render - Core package",
5
5
  "author": "",
6
6
  "license": "UNLICENSED",
package/tsconfig.json CHANGED
@@ -45,5 +45,7 @@
45
45
  "build",
46
46
  ".circleci",
47
47
  "temp",
48
+ "cypress.config.ts",
49
+ "cypress/config",
48
50
  ]
49
51
  }