Fix file path

This commit is contained in:
Sidharth Vinod
2024-01-24 21:25:05 +05:30
parent edc091f4d4
commit 50cdb74d54

View File

@@ -34,8 +34,8 @@ const percentageDifference = (oldValue: number, newValue: number): string => {
}; };
const main = async () => { const main = async () => {
const oldStats = await readStats('./cypress/snapshots/base/*.json'); const oldStats = await readStats('./cypress/snapshots/stats/base/*.json');
const newStats = await readStats('./cypress/snapshots/head/*.json'); const newStats = await readStats('./cypress/snapshots/stats/head/*.json');
const diff = Object.entries(newStats) const diff = Object.entries(newStats)
.map(([key, value]) => { .map(([key, value]) => {
const oldValue = oldStats[key]; const oldValue = oldStats[key];