Skip to content

Commit

Permalink
[web] Fix canvasKitVariant test (#40833)
Browse files Browse the repository at this point in the history
[web] Fix canvasKitVariant test
  • Loading branch information
mdebbar authored Mar 31, 2023
1 parent d5a0b29 commit a378da4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/web_ui/test/canvaskit/canvaskit_api_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -1866,9 +1866,11 @@ void _paragraphTests() {

v8BreakIterator = Object();
browserSupportsImageDecoder = false;
// TODO(mdebbar): we don't check image codecs for now.
// https://github.com/flutter/flutter/issues/122331
expect(getCanvasKitJsFileNames(CanvasKitVariant.full), <String>['canvaskit.js']);
expect(getCanvasKitJsFileNames(CanvasKitVariant.chromium), <String>['chromium/canvaskit.js']);
expect(getCanvasKitJsFileNames(CanvasKitVariant.auto), <String>['canvaskit.js']);
expect(getCanvasKitJsFileNames(CanvasKitVariant.auto), <String>['chromium/canvaskit.js', 'canvaskit.js']);

v8BreakIterator = null;
browserSupportsImageDecoder = false;
Expand Down

0 comments on commit a378da4

Please sign in to comment.