Skip to content

Commit

Permalink
Move TestOptions into vexflow_test_helpers.
Browse files Browse the repository at this point in the history
  • Loading branch information
ronyeh committed Jul 24, 2021
1 parent 13bc4fc commit 893cde4
Show file tree
Hide file tree
Showing 3 changed files with 181 additions and 195 deletions.
5 changes: 0 additions & 5 deletions tests/declarations.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,3 @@ export interface Assert {
raises(block: () => void, expected?: any, message?: any): void;
}
/* eslint-enable @typescript-eslint/no-explicit-any */

// See: vexflow_test_helpers.
export interface TestOptions {
assert: Assert;
}
4 changes: 2 additions & 2 deletions tests/easyscore_tests.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ import { EasyScore } from '../src/easyscore';
import { StaveNote } from '../src/stavenote';
import { System } from '../src/system';
import { FretHandFinger } from '../src/frethandfinger';
import { QUnit, expect, Assert, TestOptions } from './declarations';
import { QUnit, expect, Assert } from './declarations';
import { Articulation } from '../src/articulation';
import { VexFlowTests } from './vexflow_test_helpers';
import { VexFlowTests, TestOptions } from './vexflow_test_helpers';

// eslint-disable-next-line
declare const VF: any; // TODO: Remove soon!
Expand Down
Loading

0 comments on commit 893cde4

Please sign in to comment.