Skip to content

Commit

Permalink
change csv output format
Browse files Browse the repository at this point in the history
  • Loading branch information
ncukondo committed Nov 14, 2023
1 parent 39258f0 commit 7b9cb05
Show file tree
Hide file tree
Showing 2 changed files with 781 additions and 781 deletions.
24 changes: 12 additions & 12 deletions src/services/__test__/curriculumMapTable.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,18 +50,18 @@ describe("makeOutcomeTableData", () => {
test("layer 1", () => {
const data = makeOutcomeTableData(dummyItems, outcomesTree, 1);
const sampleData: string[][] = [
["", "", "name_1", "name_2", "name_3"],
["", "", "place_1", "place_2", "place_3"],
["PR", "プロフェッショナリズム", "○", "", ""],
["GE", "総合的に患者・生活者をみる姿勢", "", "○", ""],
["LL", "生涯にわたって共に学ぶ姿勢", "", "", ""],
["RE", "科学的探究", "○", "", ""],
["PS", "専門知識に基づいた問題解決能力", "", "", "○"],
["IT", "情報・科学技術を活かす能力", "", "", "○"],
["CS", "患者ケアのための診療技能", "", "", ""],
["CM", "コミュニケーション能力", "", "○", ""],
["IP", "多職種連携能力", "", "", ""],
["SO", "社会における医療の役割の理解", "", "○", ""],
["index", "id", "item", "name_1", "name_2", "name_3"],
["", "", "", "place_1", "place_2", "place_3"],
["PR", "JnGV10M", "プロフェッショナリズム", "○", "", ""],
["GE", "JnGV10U", "総合的に患者・生活者をみる姿勢", "", "○", ""],
["LL", "JnGV10Y", "生涯にわたって共に学ぶ姿勢", "", "", ""],
["RE", "JnGV10g", "科学的探究", "○", "", ""],
["PS", "JnGV10k", "専門知識に基づいた問題解決能力", "", "", "○"],
["IT", "JnGV10s", "情報・科学技術を活かす能力", "", "", "○"],
["CS", "JnGV10w", "患者ケアのための診療技能", "", "", ""],
["CM", "JnGV104", "コミュニケーション能力", "", "○", ""],
["IP", "JnGV11A", "多職種連携能力", "", "", ""],
["SO", "JnGV11E", "社会における医療の役割の理解", "", "○", ""],
];
expect(data).toEqual(sampleData);
});
Expand Down
Loading

0 comments on commit 7b9cb05

Please sign in to comment.