Page MenuHomePhabricator

[lib] Factor out constants in ENSCache tests
ClosedPublic

Authored by ashoat on Jan 28 2023, 7:01 AM.
Tags
None
Referenced Files
Unknown Object (File)
Nov 6 2024, 4:20 PM
Unknown Object (File)
Nov 1 2024, 1:57 PM
Unknown Object (File)
Oct 29 2024, 7:54 PM
Unknown Object (File)
Oct 29 2024, 7:54 PM
Unknown Object (File)
Oct 29 2024, 7:54 PM
Unknown Object (File)
Oct 29 2024, 7:51 PM
Unknown Object (File)
Oct 10 2024, 10:19 AM
Unknown Object (File)
Oct 1 2024, 9:11 PM
Subscribers

Details

Summary

Depends on D6426

Test Plan

cd lib && ALCHEMY_API_KEY=... yarn test utils/ens-cache.test.js

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

atul added inline comments.
lib/utils/ens-cache.test.js
36 ↗(On Diff #21495)

Super minor nit, but would personally prefer ashoatAddress or even ashoatETHAddress

But if this causes subsequent lines to extend past 80 characters and get formatted weird, shortened variable name might be better tradeoff?

This revision is now accepted and ready to land.Jan 28 2023, 12:47 PM
lib/utils/ens-cache.test.js
36 ↗(On Diff #21495)

Yeah reducing line length for nice formatting was my priority