Unverified Commit 0c322690 authored by Estelle Veisemburger's avatar Estelle Veisemburger Committed by Florent Chehab
Browse files

test(frontend): Adding tests for majorMinorMappings

parent f92e9898
import { getUpdatedMajor, getUpdatedMinor } from "./majorMinorMappings";
test("GSM => IM", () => {
const major = "GSM";
expect(getUpdatedMajor(major)).toBe("IM");
});
test("GM => IM", () => {
const major = "GM";
expect(getUpdatedMajor(major)).toBe("IM");
});
test("GI => GI", () => {
const major = "GI";
expect(getUpdatedMajor(major)).toBe("GI");
});
test("BR - FIL => BR - FIL", () => {
const major = "BR";
const minor = "FIL";
expect(getUpdatedMinor(major, minor)).toBe("FIL");
});
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment