Replaces sinon in libs/model #29058
CI.yml
on: pull_request
Matrix: Commonwealth Unit Tests
Matrix: Code Quality Recommendations
Matrix: Code Quality checks
Matrix: EVM Devnet Tests
Matrix: Commonwealth Integration Tests
Matrix: Detect Broken TS expect errors
Matrix: Commonwealth Mature E2E Tests
Matrix: Commonwealth E2E Tests
Matrix: Commonwealth E2E Tests Serial
Matrix: Upload Test Coverage Report
Annotations
17 errors and 12 warnings
Code Quality checks (22)
Type 'SinonSandbox' has no properties in common with type '{ triggerWorkflowStub?: Mock<[], Promise<any>> | undefined; getMessagesStub?: Mock<[], Promise<any[]>> | undefined; getSchedulesStub?: Mock<[], Promise<any[]>> | undefined; ... 4 more ...; unregisterClientRegistrationToken?: Mock<...> | undefined; }'.
|
Code Quality checks (22)
Type 'SinonSandbox' has no properties in common with type '{ triggerWorkflowStub?: Mock<[], Promise<any>> | undefined; getMessagesStub?: Mock<[], Promise<any[]>> | undefined; getSchedulesStub?: Mock<[], Promise<any[]>> | undefined; ... 4 more ...; unregisterClientRegistrationToken?: Mock<...> | undefined; }'.
|
Code Quality checks (22)
Process completed with exit code 2.
|
Commonwealth E2E Tests (22)
Process completed with exit code 1.
|
Commonwealth Mature E2E Tests (22)
Process completed with exit code 1.
|
Commonwealth E2E Tests Serial (22)
Process completed with exit code 1.
|
Commonwealth Unit Tests (22)
Process completed with exit code 1.
|
test/integration/knock/chainEventCreated.spec.ts > chainEventCreated Event Handler > Community Stakes > should do nothing if there are no relevant subscriptions:
packages/commonwealth/test/integration/knock/chainEventCreated.spec.ts#L124
AssertionError: expected undefined to be true
- Expected:
true
+ Received:
undefined
❯ test/integration/knock/chainEventCreated.spec.ts:124:74
|
test/integration/knock/chainEventCreated.spec.ts > chainEventCreated Event Handler > Community Stakes > should execute triggerWorkflow with the appropriate data:
packages/commonwealth/test/integration/knock/chainEventCreated.spec.ts#L149
AssertionError: expected undefined to be true
- Expected:
true
+ Received:
undefined
❯ test/integration/knock/chainEventCreated.spec.ts:149:75
|
test/integration/knock/commentCreated.spec.ts > CommentCreated Event Handler > should do nothing if there are no relevant subscriptions:
packages/commonwealth/test/integration/knock/commentCreated.spec.ts#L174
AssertionError: expected undefined to be true
- Expected:
true
+ Received:
undefined
❯ test/integration/knock/commentCreated.spec.ts:174:72
|
test/integration/knock/commentCreated.spec.ts > CommentCreated Event Handler > should execute the triggerWorkflow function with appropriate data for a root comment:
packages/commonwealth/test/integration/knock/commentCreated.spec.ts#L200
AssertionError: The event handler should trigger a workflow: expected undefined to be true
- Expected:
true
+ Received:
undefined
❯ test/integration/knock/commentCreated.spec.ts:200:10
|
test/integration/knock/commentCreated.spec.ts > CommentCreated Event Handler > should execute the triggerWorkflow function with appropriate data for a reply comment:
packages/commonwealth/test/integration/knock/commentCreated.spec.ts#L244
AssertionError: The event handler should trigger a workflow: expected undefined to be true
- Expected:
true
+ Received:
undefined
❯ test/integration/knock/commentCreated.spec.ts:244:10
|
test/integration/knock/commentCreated.spec.ts > CommentCreated Event Handler > should not trigger workflow for mentioned users:
packages/commonwealth/test/integration/knock/commentCreated.spec.ts#L321
AssertionError: The event handler should trigger a workflow: expected undefined to be true
- Expected:
true
+ Received:
undefined
❯ test/integration/knock/commentCreated.spec.ts:321:10
|
test/integration/knock/snapshotProposalCreated.spec.ts > snapshotProposalCreated Event Handler > should do nothing if there are no relevant community alert subscriptions:
packages/commonwealth/test/integration/knock/snapshotProposalCreated.spec.ts#L107
AssertionError: expected undefined to be true
- Expected:
true
+ Received:
undefined
❯ test/integration/knock/snapshotProposalCreated.spec.ts:107:72
|
test/integration/knock/snapshotProposalCreated.spec.ts > snapshotProposalCreated Event Handler > should execute triggerWorkflow with the appropriate data:
packages/commonwealth/test/integration/knock/snapshotProposalCreated.spec.ts#L136
AssertionError: triggerWorkflow should be called once: expected undefined to be true
- Expected:
true
+ Received:
undefined
❯ test/integration/knock/snapshotProposalCreated.spec.ts:136:10
|
test/integration/knock/subscriptionPreferencesUpdated.spec.ts > subscriptionPreferencesUpdated > should delete all exiting email schedules if emails are disabled:
packages/commonwealth/test/integration/knock/subscriptionPreferencesUpdated.spec.ts#L92
AssertionError: expected undefined to be true
- Expected:
true
+ Received:
undefined
❯ test/integration/knock/subscriptionPreferencesUpdated.spec.ts:92:70
|
test/integration/knock/subscriptionPreferencesUpdated.spec.ts > subscriptionPreferencesUpdated > should create schedules if emails are enabled:
packages/commonwealth/test/integration/knock/subscriptionPreferencesUpdated.spec.ts#L135
AssertionError: expected undefined to be true
- Expected:
true
+ Received:
undefined
❯ test/integration/knock/subscriptionPreferencesUpdated.spec.ts:135:70
|
Code Quality Recommendations (22)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
EVM Devnet Tests (22)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Detect Broken TS expect errors (22)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Code Quality checks (22)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Commonwealth E2E Tests (22)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Commonwealth E2E Tests (22)
No files were found with the provided path: packages/commonwealth/test-results/. No artifacts will be uploaded.
|
Commonwealth Mature E2E Tests (22)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Commonwealth Mature E2E Tests (22)
No files were found with the provided path: packages/commonwealth/test-results/. No artifacts will be uploaded.
|
Commonwealth E2E Tests Serial (22)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Commonwealth Unit Tests (22)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Upload Test Coverage Report (22)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Commonwealth Integration Tests (22)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|