Skip to content

Commit

Permalink
Merge branch 'main' into split-playwright-runs
Browse files Browse the repository at this point in the history
  • Loading branch information
fungairino authored Jun 10, 2024
2 parents 2ffd8e7 + 87f0bbd commit adaa8b0
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 31 deletions.
47 changes: 17 additions & 30 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@
"jest-webextension-mock": "^3.9.0",
"jsdom": "^24.1.0",
"jsdom-testing-mocks": "^1.13.0",
"knip": "^5.16.0",
"knip": "^5.18.2",
"mini-css-extract-plugin": "^2.6.1",
"mockdate": "^3.0.5",
"msw": "^1.3.3",
Expand Down
3 changes: 3 additions & 0 deletions src/contentScript/lifecycle.ts
Original file line number Diff line number Diff line change
Expand Up @@ -237,13 +237,15 @@ export function getActiveExtensionPoints(): StarterBrick[] {

/**
* Test helper to get internal persisted extension state
* @knip used in tests, see lifecycle.test.ts
*/
export function TEST_getPersistedExtensions(): Map<UUID, StarterBrick> {
return _persistedExtensions;
}

/**
* Test helper to get internal editor extension state
* @knip used in tests, see lifecycle.test.ts
*/
export function TEST_getEditorExtensions(): Map<UUID, StarterBrick> {
return _editorExtensions;
Expand Down Expand Up @@ -561,6 +563,7 @@ function decideRunReason({ force }: { force?: boolean }): RunReason {

/**
* Handle a website navigation, e.g., page load or a URL change in an SPA.
* @knip export used in tests, see lifecycle.test.ts
*/
export async function handleNavigate({
force,
Expand Down

0 comments on commit adaa8b0

Please sign in to comment.