Skip to content

Commit

Permalink
Merge pull request #142 from uqbar-project/fix-test-in-windows
Browse files Browse the repository at this point in the history
Fix windows tests
  • Loading branch information
PalumboN authored Mar 28, 2024
2 parents b1c3f79 + 290ed76 commit f6cf36c
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 f6cf36c

Please sign in to comment.