Skip to content

Commit 9dc0e9b

Browse files
halkeyeniekcandaele
authored andcommitted
env variable is a string
1 parent eb4cbc0 commit 9dc0e9b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/getPlayerInventory.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ const testServer: SdtdServer = {
1515
}
1616
describe('/api/getPlayerInventory', async () => {
1717
it('Returns a playername, bag, belt and equipment', async () => {
18-
const response = await getPlayerInventory(testServer, process.env.TESTPLAYER);
18+
const response = await getPlayerInventory(testServer, process.env.TESTPLAYER as string);
1919
chai.expect(response.playername).to.be.a('string');
2020
chai.expect(response.bag).to.be.a('array');
2121
chai.expect(response.belt).to.be.a('array');

0 commit comments

Comments
 (0)