Skip to content

Commit

Permalink
Fix: アセットパスを修正してエンジンモックの画像を正しく取得する
Browse files Browse the repository at this point in the history
  • Loading branch information
Hiroshiba committed Nov 23, 2024
1 parent d9c94f8 commit a1c21a3
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/e2e/browser/スクリーンショット.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,10 @@ async function getSpeakerImages(): Promise<
}[]
> {
if (!speakerImages) {
const assetsPath = path.resolve(__dirname, "assets");
const assetsPath = path.resolve(
__dirname,
"../../../src/mock/engineMock/assets",
);
const images = await fs.readdir(assetsPath);
const icons = images.filter((image) => image.startsWith("icon"));
icons.sort(
Expand Down

0 comments on commit a1c21a3

Please sign in to comment.