Skip to content

Commit

Permalink
try to fix test in that way
Browse files Browse the repository at this point in the history
  • Loading branch information
zardoy committed Jan 18, 2024
1 parent e5b7cde commit 8971720
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/js/test/audit_datarenames.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,12 @@ describe('audit dataRenames', function () {
let items
let pFile = path.join(p, 'items.json')
if (fs.existsSync(pFile)) {
items = require(pFile)
items = JSON.parse(fs.readFileSync(pFile))
}
let blocks
pFile = path.join(p, 'blocks.json')
if (fs.existsSync(pFile)) {
blocks = require(pFile)
blocks = JSON.parse(fs.readFileSync(pFile))
}

const pickData = {
Expand Down

0 comments on commit 8971720

Please sign in to comment.