Skip to content

Commit

Permalink
Refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
acuarica committed Sep 21, 2024
1 parent 234f864 commit b2420ab
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions test/mainnet.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,8 @@ describe('::mainnet', function () {

(base => readdirSync(base)
.filter(f => f.endsWith('.json'))
.map(f => f.replace('.json', ''))
.map(f => ({
filename: f, ...JSON.parse(readFileSync(`${base}/${f}.json`, 'utf-8')) as {
filename: f.replace('.json', ''), ...JSON.parse(readFileSync(`${base}/${f}`, 'utf-8')) as {
bytecode: string,
members?: string[];
selectors?: string[];
Expand Down

0 comments on commit b2420ab

Please sign in to comment.