Skip to content

Commit

Permalink
fix windows tests
Browse files Browse the repository at this point in the history
  • Loading branch information
fakeDodain committed Mar 25, 2024
1 parent 9060120 commit 290ed76
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/run.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,8 @@ describe('testing run', () => {
const game = interpreter.object('wollok.game.game')
interpreter.send('addVisual', game, interpreter.object('mainGame.elementoVisual'))
io.close()
expect(getVisuals(game, interpreter)).to.deep.equal([{ image: join('smalls', '1.png'), position: { x: 0, y: 1 }, message: undefined }])
// we can't use join in the image path since it's in Wollok project
expect(getVisuals(game, interpreter)).to.deep.equal([{ image: 'smalls/1.png', position: { x: 0, y: 1 }, message: undefined }])
})

})
Expand Down

0 comments on commit 290ed76

Please sign in to comment.