Skip to content

Commit

Permalink
Cherry-Picking beta fix (microsoft#1883)
Browse files Browse the repository at this point in the history
[Beta] Update size tests to automatically use the major number from the current version (microsoft#1873)

- this is automatically updated by the version scripts
  • Loading branch information
MSNev committed Aug 16, 2022
1 parent cc150e4 commit 4295250
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions AISKU/Tests/Unit/src/AISKUSize.Tests.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ export class AISKUSizeCheck extends AITestClass {
private readonly MAX_RAW_DEFLATE_SIZE = 46;
private readonly MAX_BUNDLE_DEFLATE_SIZE = 47;
private readonly rawFilePath = "../dist/applicationinsights-web.min.js";
// Automatically updated by version scripts
private readonly currentVer = "2.8.5";
private readonly prodFilePath = `../browser/ai.${this.currentVer[0]}.min.js`;

Expand Down
1 change: 1 addition & 0 deletions AISKU/Tests/Unit/src/CdnPackaging.tests.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ const enum CdnFormat {
}

export class CdnPackagingChecks extends AITestClass {
// Automatically updated by version scripts
private readonly currentVer = "2.8.5";

public testInitialize() {
Expand Down

0 comments on commit 4295250

Please sign in to comment.