Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -77,25 +77,25 @@ describe("AttributeMap", () => {
expect(map.has("someAttribute")).toBeFalse();
});

it("should throw if an an unknown attribute is tried to be retrieved", () => {
it("should throw if an unknown attribute is tried to be retrieved", () => {
const map: AttributeMap = new AttributeMap(new AttributeSet());

expect(() => map.get("someAttribute")).toThrow("Unknown attribute: someAttribute");
});

it("should throw if an an unknown attribute is tried to be set", () => {
it("should throw if an unknown attribute is tried to be set", () => {
const map: AttributeMap = new AttributeMap(new AttributeSet());

expect(() => map.set("someAttribute", "value")).toThrow("Unknown attribute: someAttribute");
});

it("should throw if an an unknown attribute is tried to be forgotten", () => {
it("should throw if an unknown attribute is tried to be forgotten", () => {
const map: AttributeMap = new AttributeMap(new AttributeSet());

expect(() => map.forget("someAttribute")).toThrow("Unknown attribute: someAttribute");
});

it("should throw if an an unknown attribute is tried to be checked", () => {
it("should throw if an unknown attribute is tried to be checked", () => {
const map: AttributeMap = new AttributeMap(new AttributeSet());

expect(() => map.has("someAttribute")).toThrow("Unknown attribute: someAttribute");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ describe("Bridgechain registration transaction", () => {
expect(error).not.toBeUndefined();
});

it("should fail duo to to big repository, max 100 chars", () => {
it("should fail duo to big repository, max 100 chars", () => {
const bridgechainRegistration = builder
.bridgechainRegistrationAsset({
name: "google",
Expand Down