chore: fixes module pathing
This commit is contained in:
@@ -133,7 +133,7 @@ describe('HarvesterHandler', () => {
|
||||
// None of the source spots should have changed
|
||||
expect(
|
||||
state.sourcesStates['src1'].spots.every(
|
||||
(s) =>
|
||||
(s: PositionSpotStatus) =>
|
||||
s === PositionSpotStatus.EMPTY ||
|
||||
s === PositionSpotStatus.CENTER
|
||||
)
|
||||
@@ -232,7 +232,7 @@ describe('HarvesterHandler', () => {
|
||||
// Fill all non-center spots with OCCUPIED
|
||||
state.sourcesStates['src1'].spots = state.sourcesStates[
|
||||
'src1'
|
||||
].spots.map((s) =>
|
||||
].spots.map((s: PositionSpotStatus) =>
|
||||
s === PositionSpotStatus.CENTER
|
||||
? s
|
||||
: PositionSpotStatus.OCCUPIED
|
||||
|
||||
Reference in New Issue
Block a user