mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-17 22:39:56 +02:00
Fix file path
This commit is contained in:
@@ -34,8 +34,8 @@ const percentageDifference = (oldValue: number, newValue: number): string => {
|
||||
};
|
||||
|
||||
const main = async () => {
|
||||
const oldStats = await readStats('./cypress/snapshots/base/*.json');
|
||||
const newStats = await readStats('./cypress/snapshots/head/*.json');
|
||||
const oldStats = await readStats('./cypress/snapshots/stats/base/*.json');
|
||||
const newStats = await readStats('./cypress/snapshots/stats/head/*.json');
|
||||
const diff = Object.entries(newStats)
|
||||
.map(([key, value]) => {
|
||||
const oldValue = oldStats[key];
|
||||
|
Reference in New Issue
Block a user