Skip to content

Commit

Permalink
Increase web_app size limit in test
Browse files Browse the repository at this point in the history
  • Loading branch information
szakarias committed Feb 6, 2025
1 parent 302c5ed commit 13c81c6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/test/frontend/static_files_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ void main() {
test('script.dart.js and parts size check', () {
final file = cache.getFile('/static/js/script.dart.js');
expect(file, isNotNull);
expect((file!.bytes.length / 1024).round(), closeTo(336, 20));
expect((file!.bytes.length / 1024).round(), closeTo(345, 20));

final parts = cache.paths
.where((path) =>
Expand Down
2 changes: 1 addition & 1 deletion pkg/web_app/lib/src/widget/downloads_chart/widget.dart
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,7 @@ void drawChart(
for (int i = 0; i < downloads.length; i++) {
final index = ranges.length - 1 - i;
if (downloads[index] > 0) {
// We only show the exact download count in the tooltip if it's non-zero.
// We only show the exact download count in the tooltip if it is non-zero.
final square = HTMLDivElement()
..setAttribute(
'class', 'downloads-chart-tooltip-square ${squareColorClass(i)}');
Expand Down

0 comments on commit 13c81c6

Please sign in to comment.