♻️ Require await in async functions #329
Annotations
9 errors and 2 warnings
src/font-loader.test.ts > font-loader > new FontLoader > rejects when no fonts defined:
src/font-loader.ts#L23
Error: No fonts defined
❯ FontLoader.loadFont src/font-loader.ts:23:13
❯ src/font-loader.test.ts:33:27
|
src/font-loader.test.ts > font-loader > new FontLoader > rejects for unknown font name:
src/font-loader.ts#L29
Error: No font defined for 'Unknown'
❯ FontLoader.loadFont src/font-loader.ts:29:13
❯ src/font-loader.test.ts:37:31
|
src/font-loader.test.ts > font-loader > new FontLoader > rejects when no matching font style can be found:
src/font-loader.ts#L44
Error: No font defined for 'Other', style=italic
❯ FontLoader.loadFont src/font-loader.ts:44:13
❯ src/font-loader.test.ts:44:20
❯ src/font-loader.test.ts:45:7
|
src/font-loader.test.ts > font-loader > new FontLoader > selects first matching font if no family specified:
src/font-loader.test.ts#L72
TypeError: You must provide a Promise to expect() when using .resolves, not 'object'.
❯ src/font-loader.test.ts:72:43
|
src/font-loader.test.ts > font-loader > new FontLoader > selects font with matching font family:
src/font-loader.test.ts#L93
TypeError: You must provide a Promise to expect() when using .resolves, not 'object'.
❯ src/font-loader.test.ts:93:64
|
src/font-loader.test.ts > font-loader > new FontLoader > falls back to oblique when no italic font can be found:
src/font-loader.test.ts#L103
TypeError: You must provide a Promise to expect() when using .resolves, not 'object'.
❯ src/font-loader.test.ts:103:7
|
src/font-loader.test.ts > font-loader > new FontLoader > falls back to italic when no oblique font can be found:
src/font-loader.test.ts#L112
TypeError: You must provide a Promise to expect() when using .resolves, not 'object'.
❯ src/font-loader.test.ts:112:7
|
src/font-loader.test.ts > font-loader > new FontLoader > falls back when no matching font weight can be found:
src/font-loader.test.ts#L121
TypeError: You must provide a Promise to expect() when using .resolves, not 'object'.
❯ src/font-loader.test.ts:121:7
|
build
Process completed with exit code 1.
|
build
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
build
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/setup-node@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|