feat(application): complete dispo import operator flow
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
import { describe, expect, it } from "vitest";
|
||||
import { deriveRoleTokens } from "../use-cases/dispo-import/shared.js";
|
||||
|
||||
describe("deriveRoleTokens", () => {
|
||||
it("recognizes common roster department and title variants", () => {
|
||||
expect(deriveRoleTokens("2D Nuke")).toEqual(["2D"]);
|
||||
expect(deriveRoleTokens("Motion Design")).toEqual(["2D"]);
|
||||
expect(deriveRoleTokens("3D Modeling")).toEqual(["3D"]);
|
||||
expect(deriveRoleTokens("Digital Producer")).toEqual(["PM"]);
|
||||
expect(deriveRoleTokens("Head of Delivery")).toEqual(["PM"]);
|
||||
expect(deriveRoleTokens("Digital Designer")).toEqual(["AD"]);
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user