Skip to content

Commit

Permalink
Merge pull request #4 from VPKSoft/cleanup_tests
Browse files Browse the repository at this point in the history
Remove excess lines from the test files.
  • Loading branch information
Petteri Kautonen committed Oct 1, 2023
2 parents 6fe7072 + 931c5ff commit a528f9b
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions tests/decodeMigrationUri.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,3 @@ test("Decode otpauth-migration URI", async () => {
const data = await decodeMigrationUri("otpauth-migration://offline?data=Ch8KBdFBKZJTEgpUZXN0IFRva2VuGgQyRkFTIAEoATACEAEYASAAKIji6ej7%2F%2F%2F%2F%2FwE%3D");
expect(data).toStrictEqual([{ algorithm: "ALGO_SHA1", digits: 1, issuer: "2FAS", name: "Test Token", secret: "0UEpklM=", secretBase32: "2FASTEST", type: "OTP_TOTP" }]);
});

//
2 changes: 0 additions & 2 deletions tests/decodeUriData.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,3 @@ test("Decode otpauth-migration URI", async () => {
const data = await decodeMigrationUriData("Ch8KBdFBKZJTEgpUZXN0IFRva2VuGgQyRkFTIAEoATACEAEYASAAKIji6ej7/////wE=");
expect(data).toStrictEqual([{ algorithm: "ALGO_SHA1", digits: 1, issuer: "2FAS", name: "Test Token", secret: "0UEpklM=", secretBase32: "2FASTEST", type: "OTP_TOTP" }]);
});

//

0 comments on commit a528f9b

Please sign in to comment.