martijnversluis/ChordSheetJS

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

Summary

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

describe('Chord', () => {
  describe('chord symbol', () => {
    describe('for a pure numeric chord', () => {
      it('returns true for a numeric chord', () => {
        expect(Chord.parse('1/3')?.isNumeric()).toBe(true);
      });
    });
  });
});