Skip to content

toCommonUnit doesn't work as expected #86

@gvlasov

Description

@gvlasov

Why does this fail?

  it("should convert measurements to a common unit", () => {
    expect(toCommonUnit([1, 'cm'], [2, 'm'])).not.toBeUndefined()
  });

I would expect it to return [[1, 'cm'], [200, 'cm']], but it returns undefined.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions