From 9a4d8036a6a91832d90e5cb236769e4a0e0daa40 Mon Sep 17 00:00:00 2001 From: Felix Roos Date: Fri, 3 Mar 2023 12:38:11 +0100 Subject: [PATCH] add test --- packages/tonal/test/tonal.test.mjs | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/packages/tonal/test/tonal.test.mjs b/packages/tonal/test/tonal.test.mjs index 7459ce3d..0db68404 100644 --- a/packages/tonal/test/tonal.test.mjs +++ b/packages/tonal/test/tonal.test.mjs @@ -30,4 +30,11 @@ describe('tonal', () => { .firstCycleValues.map((h) => h.note), ).toEqual(['C3', 'D3', 'E3']); }); + it('scale with colon', () => { + expect( + n(0, 1, 2) + .scale('C:major') + .firstCycleValues.map((h) => h.note), + ).toEqual(['C3', 'D3', 'E3']); + }); });