Skip to content

chore: Create content.ts for wxt-demo as example#2233

Open
PatrykKuniczak wants to merge 20 commits intowxt-dev:mainfrom
PatrykKuniczak:chore/create-example-content-with-injectScript
Open

chore: Create content.ts for wxt-demo as example#2233
PatrykKuniczak wants to merge 20 commits intowxt-dev:mainfrom
PatrykKuniczak:chore/create-example-content-with-injectScript

Conversation

@PatrykKuniczak
Copy link
Copy Markdown
Collaborator

@PatrykKuniczak PatrykKuniczak commented Apr 5, 2026

Overview

Added new file with tests, to show #2232 really fix the problem.

Manual Testing

Let's check if everything is shown in console for each browser target in packages/wxt-demo

Blocked by #2232

@PatrykKuniczak PatrykKuniczak self-assigned this Apr 5, 2026
@netlify
Copy link
Copy Markdown

netlify bot commented Apr 5, 2026

Deploy Preview for creative-fairy-df92c4 ready!

Name Link
🔨 Latest commit f95b95a
🔍 Latest deploy log https://app.netlify.com/projects/creative-fairy-df92c4/deploys/69d3ce570ec4fd0008113fe2
😎 Deploy Preview https://deploy-preview-2233--creative-fairy-df92c4.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@PatrykKuniczak PatrykKuniczak added the pkg/wxt-demo Includes changes to the `packages/wxt-demo` directory label Apr 5, 2026
@codecov
Copy link
Copy Markdown

codecov bot commented Apr 5, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 76.43%. Comparing base (98e2180) to head (f95b95a).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2233      +/-   ##
==========================================
+ Coverage   76.17%   76.43%   +0.25%     
==========================================
  Files         115      115              
  Lines        3094     3094              
  Branches      685      685              
==========================================
+ Hits         2357     2365       +8     
+ Misses        655      648       -7     
+ Partials       82       81       -1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@pkg-pr-new
Copy link
Copy Markdown

pkg-pr-new bot commented Apr 5, 2026

Open in StackBlitz

@wxt-dev/analytics

npm i https://pkg.pr.new/@wxt-dev/analytics@2233

@wxt-dev/auto-icons

npm i https://pkg.pr.new/@wxt-dev/auto-icons@2233

@wxt-dev/browser

npm i https://pkg.pr.new/@wxt-dev/browser@2233

@wxt-dev/i18n

npm i https://pkg.pr.new/@wxt-dev/i18n@2233

@wxt-dev/is-background

npm i https://pkg.pr.new/@wxt-dev/is-background@2233

@wxt-dev/module-react

npm i https://pkg.pr.new/@wxt-dev/module-react@2233

@wxt-dev/module-solid

npm i https://pkg.pr.new/@wxt-dev/module-solid@2233

@wxt-dev/module-svelte

npm i https://pkg.pr.new/@wxt-dev/module-svelte@2233

@wxt-dev/module-vue

npm i https://pkg.pr.new/@wxt-dev/module-vue@2233

@wxt-dev/runner

npm i https://pkg.pr.new/@wxt-dev/runner@2233

@wxt-dev/storage

npm i https://pkg.pr.new/@wxt-dev/storage@2233

@wxt-dev/unocss

npm i https://pkg.pr.new/@wxt-dev/unocss@2233

@wxt-dev/webextension-polyfill

npm i https://pkg.pr.new/@wxt-dev/webextension-polyfill@2233

wxt

npm i https://pkg.pr.new/wxt@2233

commit: f95b95a

@PatrykKuniczak
Copy link
Copy Markdown
Collaborator Author

PatrykKuniczak commented Apr 6, 2026

Really fu.. those tests, it's too complicated for that simply case, example code'll be enough.

It's doable, but anyway MV2 support will end soon also for Firefox and then we'll need to support only MV3.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pkg/wxt-demo Includes changes to the `packages/wxt-demo` directory

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant