♻️ Require await in async functions #329
Annotations
9 errors and 2 warnings
Run npm run test:
src/font-loader.ts#L23
Error: No fonts defined
❯ FontLoader.loadFont src/font-loader.ts:23:13
❯ src/font-loader.test.ts:33:27
|
Run npm run test:
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
|
Run npm run test:
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
|
Run npm run test:
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
|
Run npm run test:
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
|
Run npm run test:
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
|
Run npm run test:
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
|
Run npm run test:
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
|
Run npm run test
Process completed with exit code 1.
|
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/
|
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/
|
Loading