Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
hanakla committed Sep 10, 2024
1 parent 5e59a5c commit a773b17
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ describe("getChordFunctionOnKey", () => {
thirdTonic: false,
} as const;

it.only.each(
it.each(
// prettier-ignore
[
{ chord: "I", key: "C", actual: { ...allFalse, tonic: true, } },
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,6 @@ describe("getDegreeDetailByChordName", () => {
expect(getDegreeDetailByChordName("+D", "C")?.chordName).toBe("II");
expect(getDegreeDetailByChordName("C", "F")?.chordName).toBe("V");
expect(getDegreeDetailByChordName("A#", "C")?.chordName).toBe("VI#");
expect(getDegreeDetailByChordName("G", "D")?.chordName).toBe("IV");
});
});
2 changes: 0 additions & 2 deletions pkgs/harnica-midi/src/internals/parser/chord-parser-2.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ import {
parseChordProgression,
parseStringAsSingleChordNote,
} from "./chord-parser-2";
import { NoteFragment, NoteFragmentType } from "./types";
import dedent from "dedent";

describe("chord-parser-2", () => {
describe(parseChordProgression.name, () => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ describe("chordIRToNoteChord", () => {
});
});

it.only.each(
it.each(
// prettier-ignore
[
['BM-5', { root: 11, qualities: [['quality', 'M'], ['tune', 'b', '5']] as NoteQuality[] }, [11, 15, 17]],
Expand Down

0 comments on commit a773b17

Please sign in to comment.