mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-10-16 20:49:45 +02:00
Update glob
This commit is contained in:
@@ -35,8 +35,8 @@ const percentageDifference = (oldValue: number, newValue: number): string => {
|
|||||||
};
|
};
|
||||||
|
|
||||||
const main = async () => {
|
const main = async () => {
|
||||||
const oldStats = await readStats('./cypress/snapshots/stats/base/*.json');
|
const oldStats = await readStats('./cypress/snapshots/stats/base/**/*.json');
|
||||||
const newStats = await readStats('./cypress/snapshots/stats/head/*.json');
|
const newStats = await readStats('./cypress/snapshots/stats/head/**/*.json');
|
||||||
console.log(oldStats, newStats);
|
console.log(oldStats, newStats);
|
||||||
const diff = Object.entries(newStats)
|
const diff = Object.entries(newStats)
|
||||||
.map(([key, value]) => {
|
.map(([key, value]) => {
|
||||||
|
Reference in New Issue
Block a user