Scope approvals to documentId #69
Annotations
12 errors and 5 warnings
src/origins/approve-origin.test.ts > originHandlers > approveOrigin > prompts user for approval if the origin is not known:
apps/extension/src/origins/valid-sender.ts#L21
Error: Sender is not a top-level frame
❯ Module.assertValidSender src/origins/valid-sender.ts:21:35
❯ Module.approveOrigin src/origins/approve-origin.ts:40:23
❯ src/origins/approve-origin.test.ts:64:28
|
src/origins/approve-origin.test.ts > originHandlers > approveOrigin > returns the stored choice if the origin is already known and approved:
apps/extension/src/origins/valid-sender.ts#L21
Error: Sender is not a top-level frame
❯ Module.assertValidSender src/origins/valid-sender.ts:21:35
❯ Module.approveOrigin src/origins/approve-origin.ts:40:23
❯ src/origins/approve-origin.test.ts:74:28
|
src/origins/approve-origin.test.ts > originHandlers > approveOrigin > returns Denied if the user denies the request:
apps/extension/src/origins/valid-sender.ts#L21
Error: Sender is not a top-level frame
❯ Module.assertValidSender src/origins/valid-sender.ts:21:35
❯ Module.approveOrigin src/origins/approve-origin.ts:40:23
❯ src/origins/approve-origin.test.ts:101:28
|
src/origins/approve-origin.test.ts > originHandlers > approveOrigin > updates an existing record if the user changes their choice from denied to approve:
apps/extension/src/origins/valid-sender.ts#L21
Error: Sender is not a top-level frame
❯ Module.assertValidSender src/origins/valid-sender.ts:21:35
❯ Module.approveOrigin src/origins/approve-origin.ts:40:23
❯ src/origins/approve-origin.test.ts:116:28
|
src/origins/approve-origin.test.ts > originHandlers > approveOrigin > returns the previously approved choice if one exists:
apps/extension/src/origins/valid-sender.ts#L21
Error: Sender is not a top-level frame
❯ Module.assertValidSender src/origins/valid-sender.ts:21:35
❯ Module.approveOrigin src/origins/approve-origin.ts:40:23
❯ src/origins/approve-origin.test.ts:129:28
|
src/origins/approve-origin.test.ts > originHandlers > approveOrigin > correctly updates the persisted known sites after user interaction:
apps/extension/src/origins/valid-sender.ts#L21
Error: Sender is not a top-level frame
❯ Module.assertValidSender src/origins/valid-sender.ts:21:35
❯ Module.approveOrigin src/origins/approve-origin.ts:40:23
❯ src/origins/approve-origin.test.ts:145:13
|
src/origins/approve-origin.test.ts > originHandlers > approveOrigin > returns the stored choice if the origin is already known and ignored:
apps/extension/src/origins/valid-sender.ts#L21
Error: Sender is not a top-level frame
❯ Module.assertValidSender src/origins/valid-sender.ts:21:35
❯ Module.approveOrigin src/origins/approve-origin.ts:40:23
❯ src/origins/approve-origin.test.ts:156:28
|
src/origins/approve-origin.test.ts > originHandlers > approveOrigin > returns UserChoice.Denied if the user closes the popup without making a choice:
apps/extension/src/origins/valid-sender.ts#L21
Error: Sender is not a top-level frame
❯ Module.assertValidSender src/origins/valid-sender.ts:21:35
❯ Module.approveOrigin src/origins/approve-origin.ts:40:23
❯ src/origins/approve-origin.test.ts:165:28
|
src/origins/approve-origin.test.ts > originHandlers > approveOrigin > correctly handles trailing slashes in the origin:
apps/extension/src/origins/valid-sender.ts#L21
Error: Sender is not a top-level frame
❯ Module.assertValidSender src/origins/valid-sender.ts:21:35
❯ Module.approveOrigin src/origins/approve-origin.ts:40:23
❯ src/origins/approve-origin.test.ts:175:28
|
src/origins/approve-origin.test.ts > originHandlers > approveOrigin > shows the popup with the correct parameters:
apps/extension/src/origins/valid-sender.ts#L21
Error: Sender is not a top-level frame
❯ Module.assertValidSender src/origins/valid-sender.ts:21:35
❯ Module.approveOrigin src/origins/approve-origin.ts:40:23
❯ src/origins/approve-origin.test.ts:188:13
|
Build
chrome-extension#build: command (/home/runner/actions-runner/_work/web/web/apps/extension) /home/runner/setup-pnpm/node_modules/.bin/pnpm run build exited (1)
|
Build
Process completed with exit code 1.
|
test
This job failure may be caused by using an out of date self-hosted runner. You are currently using runner version 2.316.1. Please update to the latest version 2.317.0
|
test
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: buildjet/cache@v3, pnpm/action-setup@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: buildjet/cache@v3, pnpm/action-setup@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Build
This job failure may be caused by using an out of date self-hosted runner. You are currently using runner version 2.316.1. Please update to the latest version 2.317.0
|
Build
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: buildjet/cache@v3, pnpm/action-setup@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|