Skip to content

fix: missing browser in shadow-root file (#1317)

Codecov / codecov/patch succeeded Dec 31, 2024 in 1s

87.13% of diff hit (target 81.12%)

View this Pull Request on Codecov

87.13% of diff hit (target 81.12%)

Annotations

Check warning on line 32 in packages/wxt/src/browser.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/wxt/src/browser.ts#L32

Added line #L32 was not covered by tests

Check warning on line 35 in packages/wxt/src/browser.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/wxt/src/browser.ts#L34-L35

Added lines #L34 - L35 were not covered by tests

Check warning on line 37 in packages/wxt/src/browser.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/wxt/src/browser.ts#L37

Added line #L37 was not covered by tests

Check warning on line 286 in packages/wxt/src/core/builders/vite/index.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/wxt/src/core/builders/vite/index.ts#L282-L286

Added lines #L282 - L286 were not covered by tests

Check warning on line 26 in packages/wxt/src/core/builders/vite/plugins/extensionApiMock.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/wxt/src/core/builders/vite/plugins/extensionApiMock.ts#L26

Added line #L26 was not covered by tests

Check warning on line 12 in packages/wxt/src/core/define-web-ext-config.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/wxt/src/core/define-web-ext-config.ts#L8-L12

Added lines #L8 - L12 were not covered by tests

Check warning on line 19 in packages/wxt/src/core/define-web-ext-config.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/wxt/src/core/define-web-ext-config.ts#L18-L19

Added lines #L18 - L19 were not covered by tests

Check warning on line 74 in packages/wxt/src/core/utils/content-scripts.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/wxt/src/core/utils/content-scripts.ts#L74

Added line #L74 was not covered by tests

Check warning on line 6 in packages/wxt/src/core/utils/eslint.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/wxt/src/core/utils/eslint.ts#L6

Added line #L6 was not covered by tests

Check warning on line 43 in packages/wxt/src/testing/wxt-vitest-plugin.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/wxt/src/testing/wxt-vitest-plugin.ts#L41-L43

Added lines #L41 - L43 were not covered by tests

Check warning on line 27 in packages/wxt/src/utils/content-script-ui/shadow-root.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/wxt/src/utils/content-script-ui/shadow-root.ts#L26-L27

Added lines #L26 - L27 were not covered by tests

Check warning on line 29 in packages/wxt/src/utils/content-script-ui/shadow-root.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/wxt/src/utils/content-script-ui/shadow-root.ts#L29

Added line #L29 was not covered by tests

Check warning on line 32 in packages/wxt/src/utils/content-script-ui/shadow-root.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/wxt/src/utils/content-script-ui/shadow-root.ts#L31-L32

Added lines #L31 - L32 were not covered by tests

Check warning on line 95 in packages/wxt/src/utils/content-script-ui/shadow-root.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/wxt/src/utils/content-script-ui/shadow-root.ts#L94-L95

Added lines #L94 - L95 were not covered by tests

Check warning on line 108 in packages/wxt/src/utils/content-script-ui/shadow-root.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/wxt/src/utils/content-script-ui/shadow-root.ts#L97-L108

Added lines #L97 - L108 were not covered by tests

Check warning on line 5 in packages/wxt/src/utils/match-patterns.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/wxt/src/utils/match-patterns.ts#L5

Added line #L5 was not covered by tests

Check warning on line 5 in packages/wxt/src/utils/storage.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/wxt/src/utils/storage.ts#L5

Added line #L5 was not covered by tests

Check warning on line 4 in packages/wxt/src/virtual/background-entrypoint.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/wxt/src/virtual/background-entrypoint.ts#L3-L4

Added lines #L3 - L4 were not covered by tests

Check warning on line 3 in packages/wxt/src/virtual/content-script-isolated-world-entrypoint.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/wxt/src/virtual/content-script-isolated-world-entrypoint.ts#L2-L3

Added lines #L2 - L3 were not covered by tests

Check warning on line 2 in packages/wxt/src/virtual/content-script-main-world-entrypoint.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/wxt/src/virtual/content-script-main-world-entrypoint.ts#L2

Added line #L2 was not covered by tests

Check warning on line 2 in packages/wxt/src/virtual/reload-html.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/wxt/src/virtual/reload-html.ts#L2

Added line #L2 was not covered by tests

Check warning on line 2 in packages/wxt/src/virtual/unlisted-script-entrypoint.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/wxt/src/virtual/unlisted-script-entrypoint.ts#L2

Added line #L2 was not covered by tests

Check warning on line 87 in packages/wxt/src/virtual/utils/reload-content-scripts.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/wxt/src/virtual/utils/reload-content-scripts.ts#L87

Added line #L87 was not covered by tests