mirror of
https://gitlab.com/lecarore/breakout71.git
synced 2025-06-15 18:54:47 -04:00
Build 29087244
This commit is contained in:
parent
5ba93500b4
commit
49f3769b54
21 changed files with 2505 additions and 2517 deletions
|
@ -1,7 +1,6 @@
|
|||
import _palette from "./data/palette.json";
|
||||
import _rawLevelsList from "./data/levels.json";
|
||||
import _appVersion from "./data/version.json";
|
||||
import { rawUpgrades } from "./upgrades";
|
||||
|
||||
describe("json data checks", () => {
|
||||
it("_rawLevelsList has icon levels", () => {
|
||||
|
@ -10,13 +9,6 @@ describe("json data checks", () => {
|
|||
).toBeGreaterThan(10);
|
||||
});
|
||||
|
||||
it("all upgrades have icons", () => {
|
||||
const missingIcon = rawUpgrades.filter(
|
||||
(u) => !_rawLevelsList.find((l) => l.name == "icon:" + u.id),
|
||||
);
|
||||
expect(missingIcon).toEqual([]);
|
||||
});
|
||||
|
||||
it("_rawLevelsList has non-icon few levels", () => {
|
||||
expect(
|
||||
_rawLevelsList.filter((l) => !l.name.startsWith("icon:")).length,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue