From 4d4e0676d7735420430ddab705f229f8b75cfbf4 Mon Sep 17 00:00:00 2001 From: Rodrigo Vilar Date: Mon, 1 May 2023 12:34:32 +0200 Subject: [PATCH] module name fixed --- tests/vexflow_test_helpers.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/vexflow_test_helpers.ts b/tests/vexflow_test_helpers.ts index 15a8af007c..4689909d8e 100644 --- a/tests/vexflow_test_helpers.ts +++ b/tests/vexflow_test_helpers.ts @@ -322,10 +322,10 @@ export class VexFlowTests { } const testTypeLowerCase = testType.toLowerCase(); fontStacks.forEach((fontStackName: string) => { - QUnit.test(name, (assert: Assert) => { + QUnit.test(name, (assert: any) => { useTempFontStack(fontStackName); const elementId = VexFlowTests.generateTestID(`${testTypeLowerCase}_` + fontStackName); - const moduleName = QUnit.module.name; + const moduleName = assert.test.module.name; const title = moduleName + ' › ' + name + ` › ${testType} + ${fontStackName}`; // Add an element id for the title div, so that we can scroll directly to a test case.