try fix ci again

This commit is contained in:
kvan7
2026-08-28 21:17:26 -05:00
parent 0817868a27
commit d2f19dd503
2 changed files with 5 additions and 1 deletions
+1
View File
@@ -90,6 +90,7 @@ vi.mock("@/web/background/IPC", () => ({
url.endsWith("api/trade2/data/stats") ||
url.endsWith("api/trade2/data/items")
) {
console.warn("proxying", url);
const filePath = path.resolve(__dirname, `data/${url.slice(-5)}.json`);
const data = fs.readFileSync(filePath, "utf8");
return {
+4 -1
View File
@@ -1158,7 +1158,10 @@ describe("clientLog", () => {
describe("local performance tests", () => {
let lines: string[] = [];
beforeEach(() => {
beforeEach(async () => {
setupTests();
await init("en");
vi.clearAllMocks();
const blob = fs.readFileSync(
"C:/Program Files (x86)/Steam/steamapps/common/Path of Exile 2/logs/Client.txt",
);