Skip to content

Commit

Permalink
remove only
Browse files Browse the repository at this point in the history
  • Loading branch information
Zyie committed May 7, 2024
1 parent 325b8b5 commit 9c326c9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 29 deletions.
8 changes: 4 additions & 4 deletions packages/texture-packer/test/texturePacker.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -503,15 +503,15 @@ describe('Texture Packer', () =>
x: 2,
y: 2,
w: 1,
h: 1
h: 35
},
rotated: false,
trimmed: true,
trimmed: false,
spriteSourceSize: {
x: 0,
y: 0,
w: 1,
h: 1
h: 35
},
sourceSize: {
w: 1,
Expand Down Expand Up @@ -583,7 +583,7 @@ describe('Texture Packer', () =>
mockWarn.mockRestore();
});

it.only('should handle smaller than 3x3 textures if trimming is enabled', async () =>
it('should handle smaller than 3x3 textures if trimming is enabled', async () =>
{
const testName = 'tp-small-trim';
const inputDir = getInputDir(pkg, testName);
Expand Down
25 changes: 0 additions & 25 deletions packages/texture-packer/test/texturePackerAll.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -135,30 +135,5 @@ describe('Texture Packer All', () =>
checkFiles(pngFiles, false, true);
}
});

// [
// {
// json: `[email protected]`,
// image: `[email protected]`,
// },
// {
// json: `sprites-RCqjNQ.webp.json`,
// image: `sprites-wXEUjA.webp`,
// },
// {
// json: `[email protected]`,
// image: `[email protected]`,

// },
// {
// json: `sprites-FYLGeg.png.json`,
// image: `sprites-Ef_oOA.png`,
// }
// ].forEach(({ json, image }) =>
// {
// const jsonData = readJSONSync(`${outputDir}/${json}`);

// expect(jsonData.meta.image).toEqual(image);
// });
});
});

0 comments on commit 9c326c9

Please sign in to comment.