Skip to content
This repository was archived by the owner on Aug 22, 2025. It is now read-only.

Commit a663890

Browse files
authored
test: add integration test for basic validation (#1761)
1 parent 20dc6db commit a663890

3 files changed

Lines changed: 582 additions & 0 deletions

File tree

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
"test:vp": "jest -i vp.test.ts",
1717
"test:delegation": "jest -i delegation.test.ts",
1818
"test:validation": "jest -i validation.test.ts",
19+
"test:integration": "jest -i test/integration/",
1920
"test:unit": "jest -i test/unit/",
2021
"prepublishOnly": "npm run build",
2122
"postinstall": "npm run build",

src/validations/validation.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ export default class Validation {
3131
this.params = params;
3232
}
3333

34+
// TODO: validate invalid networks
3435
async validate(customAuthor = this.author): Promise<boolean> {
3536
try {
3637
this.validateAddressType(customAuthor);

0 commit comments

Comments
 (0)