-
Notifications
You must be signed in to change notification settings - Fork 494
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(@embark/ens): fix registerSubDomain in tests and add test
registerSubDomain didn't work in tests because it used the old way of checking the env, which is checking the `this.env` string, but in tests, we use the `test` env. So instead, we now check if it is a known network using the network ID (like we do for other place)
- Loading branch information
1 parent
3f58376
commit 3ceac53
Showing
2 changed files
with
26 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters