Skip to content

Feat/data structures #18

Feat/data structures

Feat/data structures #18

Triggered via pull request March 12, 2025 14:15
Status Failure
Total duration 50s
Artifacts

pr-checks.yml

on: pull_request
🏗️ Scaffold env
14s
🏗️ Scaffold env
Lint 🔎
13s
Lint 🔎
Test 🧪
9s
Test 🧪
Compile ⚒️
9s
Compile ⚒️
Fit to window
Zoom out
Zoom in

Annotations

30 errors
Compile ⚒️: lib/geometry/aabb.ts#L12
Property 'size' does not exist on type 'IAABB'.
Compile ⚒️: lib/geometry/aabb.ts#L16
Property 'position' does not exist on type 'IAABB'.
Compile ⚒️: lib/geometry/aabb.ts#L17
Property 'position' does not exist on type 'IAABB'.
Compile ⚒️: lib/geometry/aabb.ts#L66
Class 'AABB' incorrectly implements interface 'IAABB'.
Compile ⚒️: lib/geometry/aabb.ts#L80
Argument of type 'this' is not assignable to parameter of type 'IAABB'.
Compile ⚒️: lib/geometry/aabb.ts#L84
Argument of type 'this' is not assignable to parameter of type 'IAABB'.
Compile ⚒️: lib/geometry/aabb.ts#L103
Argument of type 'this' is not assignable to parameter of type 'IAABB'.
Compile ⚒️: lib/geometry/collisions2d.ts#L97
'ray' is declared but its value is never read.
Compile ⚒️: lib/geometry/collisions2d.ts#L97
'aabb' is declared but its value is never read.
Compile ⚒️: lib/geometry/collisions2d.ts#L97
'collisionPoint' is declared but its value is never read.
lib/geometry/__tests__/collisions2d.test.ts > geometry/collisions > rayIntersectsAabb2D > should return if the ray is intersecting the aabb: lib/geometry/__tests__/collisions2d.test.ts#L353
AssertionError: expected false to deeply equal true - Expected + Received - true + false ❯ lib/geometry/__tests__/collisions2d.test.ts:353:24
lib/geometry/__tests__/collisions2d.test.ts > geometry/collisions > rayIntersectsCircle2D > should return if the ray is intersecting the given circle: lib/geometry/__tests__/collisions2d.test.ts#L377
AssertionError: expected false to deeply equal true - Expected + Received - true + false ❯ lib/geometry/__tests__/collisions2d.test.ts:377:24
lib/partitions/__tests__/quad-tree.test.ts > partitions/quad-tree > core functionality > should accept items that are within the trees bounds: lib/partitions/__tests__/quad-tree.test.ts#L6
AssertionError: expected '@todo' to deeply equal true - Expected: true + Received: "@todo" ❯ lib/partitions/__tests__/quad-tree.test.ts:6:23
lib/partitions/__tests__/quad-tree.test.ts > partitions/quad-tree > core functionality > should remove items within the tree: lib/partitions/__tests__/quad-tree.test.ts#L10
AssertionError: expected '@todo' to deeply equal true - Expected: true + Received: "@todo" ❯ lib/partitions/__tests__/quad-tree.test.ts:10:23
lib/partitions/__tests__/quad-tree.test.ts > partitions/quad-tree > core functionality > should not merge overlapping items: lib/partitions/__tests__/quad-tree.test.ts#L14
AssertionError: expected '@todo' to deeply equal true - Expected: true + Received: "@todo" ❯ lib/partitions/__tests__/quad-tree.test.ts:14:23
lib/partitions/__tests__/quad-tree.test.ts > partitions/quad-tree > core functionality > should subdivide the tree once it reaches capacity: lib/partitions/__tests__/quad-tree.test.ts#L19
AssertionError: expected '@todo' to deeply equal true - Expected: true + Received: "@todo" ❯ lib/partitions/__tests__/quad-tree.test.ts:19:23
lib/partitions/__tests__/quad-tree.test.ts > partitions/quad-tree > core functionality > should store items that span multiple boundaries in the highest common node: lib/partitions/__tests__/quad-tree.test.ts#L23
AssertionError: expected '@todo' to deeply equal true - Expected: true + Received: "@todo" ❯ lib/partitions/__tests__/quad-tree.test.ts:23:23
lib/partitions/__tests__/quad-tree.test.ts > partitions/quad-tree > core functionality > should reset and empty the tree: lib/partitions/__tests__/quad-tree.test.ts#L27
AssertionError: expected '@todo' to deeply equal true - Expected: true + Received: "@todo" ❯ lib/partitions/__tests__/quad-tree.test.ts:27:23
lib/partitions/__tests__/quad-tree.test.ts > partitions/quad-tree > core functionality > should not subdivide if there is no more space to: lib/partitions/__tests__/quad-tree.test.ts#L33
AssertionError: expected '@todo' to deeply equal true - Expected: true + Received: "@todo" ❯ lib/partitions/__tests__/quad-tree.test.ts:33:23
lib/partitions/__tests__/quad-tree.test.ts > partitions/quad-tree > querying > should retrieve points within a given rectangular range: lib/partitions/__tests__/quad-tree.test.ts#L39
AssertionError: expected '@todo' to deeply equal true - Expected: true + Received: "@todo" ❯ lib/partitions/__tests__/quad-tree.test.ts:39:23
Lint 🔎: lib/geometry/__tests__/collisions2d.test.ts#L349
Replace `ray,` with `⏎········ray,⏎·······`
Lint 🔎: lib/geometry/__tests__/collisions2d.test.ts#L351
Replace `········` with `··········`
Lint 🔎: lib/geometry/__tests__/collisions2d.test.ts#L352
Replace `},·collisionPoint` with `··},⏎········collisionPoint,⏎······`
Lint 🔎: lib/geometry/__tests__/collisions2d.test.ts#L373
Replace `ray,` with `⏎········ray,⏎·······`
Lint 🔎: lib/geometry/__tests__/collisions2d.test.ts#L375
Replace `········` with `··········`
Lint 🔎: lib/geometry/__tests__/collisions2d.test.ts#L376
Replace `},·collisionPoint` with `··},⏎········collisionPoint,⏎······`
Lint 🔎: lib/geometry/aabb.ts#L12
Unsafe argument of type error typed assigned to a parameter of type `CtorArgs`
Lint 🔎: lib/geometry/aabb.ts#L16
Unsafe argument of type error typed assigned to a parameter of type `IVec3`