test/numeric_chord/normalize.test.js
import NumericChord from '../../src/numeric_chord';
import '../matchers';
describe('NumericChord', () => {
describe('normalize', () => {
it('is a noop', () => {
const chord = new NumericChord({
base: '3',
modifier: '#',
suffix: null,
bassBase: '4',
bassModifier: 'b',
});
const normalizedChord = chord.normalize();
expect(normalizedChord).toBeChord(3, '#', null, 4, 'b');
});
});
});