Adjust sprite test to not think REUSE.toml is a sprite json

This commit is contained in:
Sirz Benjie 2025-09-21 16:10:14 -05:00
parent 41794cdab3
commit 025a2c6bd0
No known key found for this signature in database
GPG Key ID: 4A524B4D196C759E

View File

@ -49,7 +49,8 @@ describe("check if every variant's sprite are correctly set", () => {
const trimmedFilePath = `${trimmedDirpath}${filename}`;
const ext = filename.split(".")[1];
const name = filename.split(".")[0];
if (excludes.includes(name)) {
// skip REUSE.toml files
if (excludes.includes(name) || ext === "toml") {
continue;
}
if (name.includes("_")) {