Skip to content

Commit

Permalink
Fix remaining tests
Browse files Browse the repository at this point in the history
  • Loading branch information
OEvgeny committed Oct 22, 2024
1 parent cd6b638 commit 4004361
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion __tests__/html/fluentTheme/simple.html
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
);

expect(buildInfo).toHaveProperty('build-tool', 'tsup');
expect(buildInfo).toHaveProperty('module-format', 'esmodules');
expect(buildInfo).toHaveProperty('module-format', 'global');
expect(buildInfo.version).toMatch(/^\d+\.\d+\.\d+($|-)/u);

expect(window.WebChat.FluentThemeProvider).toBeTruthy();
Expand Down
2 changes: 1 addition & 1 deletion __tests__/html/metaTag.webChat.es5.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
);

expect(buildInfo).toHaveProperty('build-tool', 'tsup');
expect(buildInfo).toHaveProperty('module-format', 'esmodules');
expect(buildInfo).toHaveProperty('module-format', 'global');
expect(buildInfo).toHaveProperty('variant', 'full-es5');
expect(buildInfo.version).toMatch(/^\d+\.\d+\.\d+($|-)/u);
});
Expand Down
2 changes: 1 addition & 1 deletion __tests__/html/metaTag.webChat.full.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
);

expect(buildInfo).toHaveProperty('build-tool', 'tsup');
expect(buildInfo).toHaveProperty('module-format', 'esmodules');
expect(buildInfo).toHaveProperty('module-format', 'global');
expect(buildInfo).toHaveProperty('variant', 'full');
expect(buildInfo.version).toMatch(/^\d+\.\d+\.\d+($|-)/u);
});
Expand Down
2 changes: 1 addition & 1 deletion __tests__/html/metaTag.webChat.minimal.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
);

expect(buildInfo).toHaveProperty('build-tool', 'tsup');
expect(buildInfo).toHaveProperty('module-format', 'esmodules');
expect(buildInfo).toHaveProperty('module-format', 'global');
expect(buildInfo).toHaveProperty('variant', 'minimal');
expect(buildInfo.version).toMatch(/^\d+\.\d+\.\d+($|-)/u);
});
Expand Down

0 comments on commit 4004361

Please sign in to comment.