Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Oct 19, 2021

Bumps @open-wc/testing from 2.5.33 to 3.0.1.

Release notes

Sourced from @​open-wc/testing's releases.

@​open-wc/testing@​3.0.1

Patch Changes

  • 1649ba46: Release bump version as major versions have already been used and unpublished in an accidental publish about a year ago.
  • Updated dependencies [1649ba46]
    • @​open-wc/testing-helpers@​2.0.1

@​open-wc/testing@​3.0.0-next.5

Minor Changes

  • 22c4017c: Undo deprecation of the html and unsafeStatic exports to enable matching lit versions to what is used in fixture.

    A typical testing file looks like this

    import { html, fixture } from '@open-wc/testing'; // html will be lit-html 2.x
    it('works for tags', async () => {
    const el = await fixture(
    html<my-el></my-el>,
    );
    });

    With this export you can combine the usage of lit-html 2.x for the fixture and template rendering in lit-html 1.x

    import { html as fixtureHtml, fixture } from '@open-wc/testing'; // fixtureHtml will be lit-html 2.x
    import { html } from 'my-library'; // html will be lit-html 1.x
    it('works for tags', async () => {
    const el = await fixture(fixtureHtml<my-el></my-el>);
    });
    it('can be combined', async () => {
    class MyExtension extends LibraryComponent {
    render() {
    // needs to be lit-html 1.x as the library component is using LitElement with lit-html 1.x
    return html<p>...</p>;
    }
    }
    // fixture requires a lit-html 2.x template
    const el = await fixture(fixtureHtml<my-el></my-el>);
    });

... (truncated)

Changelog

Sourced from @​open-wc/testing's changelog.

3.0.1

Patch Changes

  • 1649ba46: Release bump version as major versions have already been used and unpublished in an accidental publish about a year ago.
  • Updated dependencies [1649ba46]
    • @​open-wc/testing-helpers@​2.0.1

3.0.0

Major Changes

  • 689c9ea3: Upgrade to support latest lit package.

    • the exports html and unsafeStatic are now deprecated we recommend to import them directly from lit/static-html.js;

    • You need to load a polyfill for the scoped registry if you wanna use the scopedElements option

    • We now enforce our entrypoints via an export map

    • The side effect free import got renamed to pure

      // old
      import { fixture } from '@open-wc/testing-helpers/index-no-side-effects.js';
      // new
      import { fixture } from '@open-wc/testing-helpers/pure';
  • a5a79a25: We now use an es module version of chai from @esm-bundle/chai.

Minor Changes

  • b9b11adc: support snapshot testing with Web Test Runner

  • 22c4017c: Undo deprecation of the html and unsafeStatic exports to enable matching lit versions to what is used in fixture.

    A typical testing file looks like this

    import { html, fixture } from '@open-wc/testing'; // html will be lit-html 2.x
    it('works for tags', async () => {
    const el = await fixture(
    html<my-el></my-el>,
    );
    });

    With this export you can combine the usage of lit-html 2.x for the fixture and template rendering in lit-html 1.x

... (truncated)

Commits
  • 42ace72 Version Packages
  • 3f8cfa5 Version Packages
  • 2dbb603 chore: added "type": "module" to package.json (#2267)
  • caacb76 Version Packages (next)
  • 56b2065 Version Packages (next)
  • 945d1d9 fix(testing): remove unused mocha dependency
  • 90d5476 Version Packages (next)
  • 40837d1 fix: use latest axe-core and allow not required attributes in role testing
  • 14c71ca Version Packages (next)
  • 074a263 chore: move to root and update all devDependencies
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [@open-wc/testing](https://github.com/open-wc/open-wc/tree/HEAD/packages/testing) from 2.5.33 to 3.0.1.
- [Release notes](https://github.com/open-wc/open-wc/releases)
- [Changelog](https://github.com/open-wc/open-wc/blob/master/packages/testing/CHANGELOG.md)
- [Commits](https://github.com/open-wc/open-wc/commits/@open-wc/testing@3.0.1/packages/testing)

---
updated-dependencies:
- dependency-name: "@open-wc/testing"
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Oct 19, 2021
@dependabot dependabot bot requested review from Westbrook and benjamind October 19, 2021 19:02
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Nov 2, 2021

Superseded by #120.

@dependabot dependabot bot closed this Nov 2, 2021
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/open-wc/testing-3.0.1 branch November 2, 2021 19:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants