Skip to content

Commit

Permalink
Update HippyFontLoaderTest.m
Browse files Browse the repository at this point in the history
  • Loading branch information
wwwcg authored Dec 16, 2024
1 parent 6cabb60 commit f69ad77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/ios/HippyFontLoaderTest.m
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ - (void)testHippyFontLoaderModule {
NSString* invalidURL = @"https://example.url";
// set arbitrary valid font file url
NSBundle *testBundle = [NSBundle bundleForClass:[self class]];
NSString* filePath = [testBundle pathForResource:@"TTTGB-Medium" ofType:@"otf"];
NSString* filePath = [testBundle pathForResource:@"TestFonts.bundle/TTTGB-Medium" ofType:@"otf"];
NSString* validURL = [@"file://" stringByAppendingString:filePath];
NSString* fontFamily = @"TTTGB Medium";
HippyBridge *bridge = [[HippyBridge alloc] initWithDelegate:nil moduleProvider:nil launchOptions:nil executorKey:nil];
Expand Down

0 comments on commit f69ad77

Please sign in to comment.