Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reproduce/lock down different dependencies #2

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

AndyOGo
Copy link
Contributor

@AndyOGo AndyOGo commented Oct 22, 2019

Lock down @webcomponents/webcomponentsjs to version 2.2.10 from 2.3.0 and tests run again 🎉

npm run test

> jest-test-plib-v2@0.1.0 test /Users/axawinterthur/dev/jest-test-plib-v2
> node scripts/test.unit.js --env=jsdom

 PASS  src/App.test.js (22.16s)
  ● Console

    console.warn node_modules/@webcomponents/webcomponentsjs/webcomponents-bundle.js:223
      Custom Elements: `Element#insertAdjacentElement` was not patched.

 PASS  src/components/AXAButton.test.js (23.511s)
  ● Console

    console.warn node_modules/@webcomponents/webcomponentsjs/webcomponents-bundle.js:223
      Custom Elements: `Element#insertAdjacentElement` was not patched.


Test Suites: 2 passed, 2 total
Tests:       2 passed, 2 total
Snapshots:   0 total
Time:        24.164s
Ran all test suites.

@@ -3,14 +3,25 @@
"version": "0.1.0",
"private": true,
"dependencies": {
"@axa-ch/button": "^2.0.10",
"@axa-ch/patterns-library-polyfill": "^1.5.0",
"@webcomponents/webcomponentsjs": "^2.2.10",
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This lock down is important!

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant