From d73700baae057a2f573721fa0fcd476a2eb0c893 Mon Sep 17 00:00:00 2001 From: infojunkie Date: Fri, 11 Oct 2024 22:18:42 -0700 Subject: [PATCH] Fix test --- package-lock.json | 4 ++-- package.json | 2 +- test/musicxml-grooves.test.js | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package-lock.json b/package-lock.json index 53f70135..f978ee60 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "musicxml-midi", - "version": "2.8.4", + "version": "2.8.5", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "musicxml-midi", - "version": "2.8.4", + "version": "2.8.5", "hasInstallScript": true, "license": "GPL-3.0-only", "dependencies": { diff --git a/package.json b/package.json index 8c41a822..a8b81c6c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "musicxml-midi", - "version": "2.8.4", + "version": "2.8.5", "description": "MusicXML to MIDI converter", "type": "module", "directories": { diff --git a/test/musicxml-grooves.test.js b/test/musicxml-grooves.test.js index 7462cb87..864b6685 100644 --- a/test/musicxml-grooves.test.js +++ b/test/musicxml-grooves.test.js @@ -7,6 +7,6 @@ describe('MusicXML grooves converter', () => { test('should run successfully', async () => { const execResult = await exec('node src/js/musicxml-grooves.js --validate --grooves=JazzBasieA,JazzWaltzMainA') const output = execResult.stderr; - expect(output).toEqual(`Generating JazzWaltzMainA...\nGenerating JazzBasieA...\n`) + expect(output).toMatch(/Generating Jazz(BasieA|WaltzMainA)\.\.\.[\n]Generating Jazz(WaltzMainA|BasieA)\.\.\.[\n]/g) }) })