3.4.0 #20871
Annotations
9 errors and 1 warning
src/tests/Particle.ts > Particle > constructor/initialization > shapeData - no emitter > should set shapeData to the square shape data configured on the container Particles:
utils/tests/src/tests/Particle.ts#L97
AssertionError: expected undefined to deeply equal *** close: true, fill: false ***
- Expected:
Object ***
"close": true,
"fill": false,
***
+ Received:
undefined
❯ src/tests/Particle.ts:97:48
|
src/tests/Particle.ts > Particle > constructor/initialization > shapeData - no emitter > should set shapeData to the configured shape data matching the chosen shape whenever multiple shapes are specified for container Particles:
utils/tests/src/tests/Particle.ts#L126
Error: tsParticles - Error Unexpected shape type "circle"
❯ src/tests/Particle.ts:126:31
|
src/tests/Particle.ts > Particle > calcPosition > should always return the position when specified:
utils/tests/src/tests/Particle.ts#L154
AssertionError: expected NaN to equal NaN
❯ src/tests/Particle.ts:154:48
|
src/tests/Particle.ts > Particle > calcPosition > should always return a position that is on the canvas when no position specified:
utils/tests/src/tests/Particle.ts#L161
AssertionError: expected NaN to be at least +0
- Expected
+ Received
- 0
+ NaN
❯ src/tests/Particle.ts:161:51
|
src/tests/Particles.ts > Particles > should create the number of particles configured in container:
utils/tests/src/tests/Particles.ts#L59
AssertionError: expected +0 to equal 5
- Expected
+ Received
- 5
+ 0
❯ src/tests/Particles.ts:59:46
|
src/tests/Particles.ts > Particles > should remove particles at specified indices:
utils/tests/src/tests/Particles.ts#L109
AssertionError: expected [] to deeply equal [ undefined, undefined, …(2) ]
- Expected
+ Received
- Array [
- undefined,
- undefined,
- undefined,
- undefined,
- ]
+ Array []
❯ src/tests/Particles.ts:109:24
|
src/tests/Particles.ts > Particles > should remove specified quantity of indices, starting at the specified index:
utils/tests/src/tests/Particles.ts#L133
AssertionError: expected [] to deeply equal [ undefined, undefined, undefined ]
- Expected
+ Received
- Array [
- undefined,
- undefined,
- undefined,
- ]
+ Array []
❯ src/tests/Particles.ts:133:24
|
src/tests/Particles.ts > Particles > should remove specified number of particles:
utils/tests/src/tests/Particles.ts#L148
AssertionError: expected +0 to equal 5
- Expected
+ Received
- 5
+ 0
❯ src/tests/Particles.ts:148:46
|
pr
Process completed with exit code 1.
|
pr
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|