mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-11-15 02:04:08 +01:00
Fix file path
This commit is contained in:
@@ -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];
|
||||||
|
|||||||
Reference in New Issue
Block a user