Page MenuHomePhabricator

[lib] Factor out constants in ENSCache tests
ClosedPublic

Authored by ashoat on Jan 28 2023, 7:01 AM.
Tags
None
Referenced Files
F2859017: D6427.id21508.diff
Tue, Oct 1, 12:14 PM
F2858292: D6427.diff
Tue, Oct 1, 10:23 AM
Unknown Object (File)
Mon, Sep 30, 7:16 AM
Unknown Object (File)
Thu, Sep 12, 1:51 AM
Unknown Object (File)
Thu, Sep 12, 1:51 AM
Unknown Object (File)
Thu, Sep 12, 1:51 AM
Unknown Object (File)
Thu, Sep 12, 1:48 AM
Unknown Object (File)
Tue, Sep 3, 7:13 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