Fix refs inside async render #4610
test.yml
on: pull_request
Matrix: build
Matrix: linters
Matrix: components
Matrix: modules
Annotations
6 errors and 4 notices
linters (20.x)
src/core/component/render/wrappers.ts(284,14): error TS2339: Property '_d' does not exist on type 'AnyFunction<any[], any>'.
|
linters (20.x)
Errors found: 1
|
linters (20.x)
Process completed with exit code 1.
|
[unit] › core/component/directives/attrs/test/unit/main.ts:65:6 › core/component/directives/attrs › the directive allows specifying directives:
src/core/component/directives/attrs/test/unit/main.ts#L1
1) [unit] › core/component/directives/attrs/test/unit/main.ts:65:6 › core/component/directives/attrs › the directive allows specifying directives, events, and attributes simultaneously
Test timeout of 30000ms exceeded.
|
[unit] › core/component/directives/attrs/test/unit/main.ts:65:6 › core/component/directives/attrs › the directive allows specifying directives:
src/core/component/directives/attrs/test/unit/main.ts#L82
1) [unit] › core/component/directives/attrs/test/unit/main.ts:65:6 › core/component/directives/attrs › the directive allows specifying directives, events, and attributes simultaneously
Error: Expected a promise to be resolved but it was rejected
Error: page.waitForFunction: Target closed
80 | await test.expect(component).toHaveCSS('margin-top', '10px');
81 |
> 82 | await test.expect(waitForWatcherCallsCount(page, component, 3)).toBeResolved();
| ^
83 | });
84 |
85 | test('the directive works correctly when used on functional components', async ({page}) => {
at /home/runner/work/Client/Client/src/core/component/directives/attrs/test/unit/main.ts:82:67
|
[unit] › core/component/directives/attrs/test/unit/main.ts:65:6 › core/component/directives/attrs › the directive allows specifying directives:
src/core/component/directives/attrs/test/unit/main.ts#L1
1) [unit] › core/component/directives/attrs/test/unit/main.ts:65:6 › core/component/directives/attrs › the directive allows specifying directives, events, and attributes simultaneously
Pending operations:
- page.waitForFunction at src/core/component/directives/attrs/test/unit/main.ts:124:5
|
🎭 Playwright Run Summary
283 passed (5.1m)
|
🎭 Playwright Run Summary
1 skipped
295 passed (5.4m)
|
🎭 Playwright Run Summary
1 flaky
[unit] › core/component/directives/attrs/test/unit/main.ts:65:6 › core/component/directives/attrs › the directive allows specifying directives, events, and attributes simultaneously
1 skipped
287 passed (6.2m)
|
🎭 Playwright Run Summary
295 passed (6.3m)
|