Skip to content

Commit

Permalink
feat: update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
gjj committed Aug 24, 2020
1 parent 2968b16 commit fe7af27
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions test/verify.v3.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ describe("verify", () => {
expect(isValid(results)).toStrictEqual(false);
expect(isValid(results, ["DOCUMENT_INTEGRITY", "DOCUMENT_STATUS"])).toStrictEqual(true);
});
it("should fail for when identity is invalid and be valid for remaining checks when document with certificate store is valid on ropsten", async () => {
it("should fail for when identity is invalid and be valid for remaining checks when document with certificate store is valid on ropsten", async () => {
const results = await verify(documentWithDocumentStoreIssuerInRegistryAndValidDns, { network: "ropsten" });

expect(results).toStrictEqual([
Expand Down Expand Up @@ -141,7 +141,7 @@ describe("verify", () => {
address: "0x532C9Ff853CA54370D7492cD84040F9f8099f11B",
reason: {
code: 3,
codeString: "ETHERS_UNHANDLED_ERROR",
codeString: "INVALID_ARGUMENT",
message: "Error with smart contract 0x532C9Ff853CA54370D7492cD84040F9f8099f11B: incorrect data length"
}
}
Expand All @@ -150,7 +150,7 @@ describe("verify", () => {
},
reason: {
code: 3,
codeString: "ETHERS_UNHANDLED_ERROR",
codeString: "INVALID_ARGUMENT",
message: "Error with smart contract 0x532C9Ff853CA54370D7492cD84040F9f8099f11B: incorrect data length"
},
status: "INVALID",
Expand Down

0 comments on commit fe7af27

Please sign in to comment.