Skip to content

Commit 3794d95

Browse files
test: Fix TS issues in test/fixtures/ and test/utils/
1 parent f6a27bf commit 3794d95

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

test/fixtures/get-message-module.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ import { file } from 'tmp-promise';
33
import { promisify } from 'util';
44
import compileModule, {
55
MessageModule
6-
} from '~/mf1/packages/core/src/compile-module';
7-
import { StringStructure } from '~/mf1/packages/core/src/compiler';
6+
} from '../../mf1/packages/core/src/compile-module';
7+
import { StringStructure } from '../../mf1/packages/core/src/compiler';
88
import MessageFormat from '@messageformat/core';
99

1010
const write = promisify(fs.write);

test/utils/mfwg-test-utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ export function* testCases(scenario: TestScenario): Iterable<Test> {
2020
const defaults = scenario.defaultTestProperties;
2121
for (const test of scenario.tests) {
2222
const td = Object.assign({}, defaults, test);
23-
const tt = td as Test;
23+
const tt = td as unknown as Test;
2424
if (td.params) {
2525
const pr: Record<string, unknown> = {};
2626
for (const p of td.params) {

0 commit comments

Comments
 (0)