Skip to content

Commit 0150545

Browse files
committed
Add tests for totk images
1 parent 1ebb55f commit 0150545

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

tests/test/v3/totk.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import {
22
CompendiumTester,
3-
// ImageTester,
3+
ImageTester,
44
// RegionTester,
55
Game
66
} from "./util";
@@ -173,17 +173,15 @@ export default function (serverUrl: string) {
173173
});
174174
});
175175
});
176-
/*
177176
describe("images", () => {
178177
it("should be png", (done) => {
179-
let entryId = Math.floor(Math.random() * (389 - 386)) + 386;
178+
let entryId = Math.floor(Math.random() * 509) + 1;
180179
compendium.getEntryImage(entryId, (content) => {
181180
ImageTester.validateImage(entryId, content as Buffer, done, (err) => {
182181
throw err;
183182
});
184183
}, CompendiumTester.fail);
185184
});
186185
});
187-
*/
188186
});
189187
}

0 commit comments

Comments
 (0)