Annotations
3 errors and 2 warnings
tests/CldImage/CldImage.test.ts > CldImage > should render a Cloudinary image with the given attributes:
packages/svelte-cloudinary/src/components/CldImage.svelte#L22
TypeError: image.$on is not a function
❯ create_fragment src/components/CldImage.svelte:22:8
❯ Module.init ../../node_modules/.pnpm/[email protected]/node_modules/svelte/src/runtime/internal/Component.js:143:34
❯ new CldImage src/components/CldImage.svelte:117:25
❯ SvelteTestingLibrary.renderComponent ../../node_modules/.pnpm/@testing-library[email protected][email protected][email protected][email protected]/node_modules/@testing-library/svelte/src/pure.js:97:23
❯ SvelteTestingLibrary.render ../../node_modules/.pnpm/@testing-library[email protected][email protected][email protected][email protected]/node_modules/@testing-library/svelte/src/pure.js:65:28
❯ tests/CldImage/CldImage.test.ts:12:3
|
tests/CldImage/CldImage.test.ts > CldImage > should update the image when src change:
packages/svelte-cloudinary/src/components/CldImage.svelte#L22
TypeError: image.$on is not a function
❯ create_fragment src/components/CldImage.svelte:22:8
❯ Module.init ../../node_modules/.pnpm/[email protected]/node_modules/svelte/src/runtime/internal/Component.js:143:34
❯ new CldImage src/components/CldImage.svelte:117:25
❯ SvelteTestingLibrary.renderComponent ../../node_modules/.pnpm/@testing-library[email protected][email protected][email protected][email protected]/node_modules/@testing-library/svelte/src/pure.js:97:23
❯ SvelteTestingLibrary.render ../../node_modules/.pnpm/@testing-library[email protected][email protected][email protected][email protected]/node_modules/@testing-library/svelte/src/pure.js:65:28
❯ tests/CldImage/CldImage.test.ts:40:25
|
Test (18)
Process completed with exit code 1.
|
Test (18)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Test (18)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|