question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Testing] provide elementUpdated function through @open-wc/testing

See original GitHub issue

I believe it would be useful and promote more complete testing practices if elementUpdated from testing-helpers was also provided by default from the main testing package. this way users can test attribute changes are reflected in components correctly

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:8 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
SampsonCrowleycommented, Jul 26, 2019

can do!

0reactions
daKmoRcommented, Jul 27, 2019

thanks to your contribution https://github.com/open-wc/open-wc/pull/653 it is now available 🤗

thx 👍

Read more comments on GitHub >

github_iconTop Results From Across the Web

Testing: Helpers - Open Web Components
A test fixture renders a piece of HTML and injects into the DOM so that you can test the behavior of your component....
Read more >
open-wc/testing-helpers - npm
Open Web Components provides a set of defaults, recommendations and tools to help facilitate your web component project.
Read more >
How to use the @open-wc/testing-helpers.defineCE function ...
To help you get started, we've selected a few @open-wc/testing-helpers. ... it('provides context for all consumers', async () => { @provider class Provider ......
Read more >
Error in @open-wc/testing/import-wrappers/chai.js ... - GitHub
I have converted the open-wc dev environment to run code in typescript but get the following error when running tests: karma.conf.js ...
Read more >
open-wc/karma ChromeHeadless testing - Failed to construct ...
The tests are using ChromeHeadless with no sandbox mode. ... import { fixture, elementUpdated } from '@open-wc/testing'; [.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found