Skip to content

Commit

Permalink
prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
rotu committed Apr 6, 2024
1 parent 7b34db3 commit dd1ba3b
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions scripts/jsontests.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,9 @@ for (const suite in testSuitePaths) {
}

const requires = Array.from(Object.keys(testSuitePaths), (s) => `require('./${s}')`)
fs.writeFileSync(`./spec/_json/index.js`, `
// generated from ${__filename}
fs.writeFileSync(
`./spec/_json/index.js`,
`// generated from ${__filename}
module.exports = [${requires.join(",\n")}]
`)
`
)

0 comments on commit dd1ba3b

Please sign in to comment.