martijnversluis/ChordSheetJS

View on GitHub
test/chord_symbol/is_chord_symbol.test.ts

Summary

Maintainability
A
0 mins
Test Coverage
import { Chord } from '../../src';

describe('Chord', () => {
  describe('chord symbol', () => {
    describe('isChordSymbol', () => {
      it('returns true for a chord symbol', () => {
        expect(Chord.parse('A/C')?.isChordSymbol()).toBe(true);
      });
    });
  });
});