Skip to content

Commit 1a4db31

Browse files
author
vakrilov
committed
Fixed tests
1 parent 2384d19 commit 1a4db31

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/tests/file-name-resolver-tests/file-name-resolver-tests.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ function testTemplate(candidates: Array<string>, context: resolver.PlatformConte
212212
TKUnit.assertEqual(result, expected, "File path");
213213
}
214214

215-
var testFilePath = fs.path.join(fs.knownFolders.currentApp().path, "tests/file-name-resolver-tests/files/test");
215+
var testFilePath = "~/file-name-resolver-tests/files/test".replace("~", fs.knownFolders.currentApp().path);
216216

217217
export function test_file_resolver_with_andorid_phone_portratit() {
218218
var fileResolver = new resolver.FileNameResolver(androidPhonePortraitContext);

0 commit comments

Comments
 (0)