Skip to content

Commit 1bf9f94

Browse files
committed
Fix tests
1 parent 124e762 commit 1bf9f94

File tree

4 files changed

+3
-3
lines changed

4 files changed

+3
-3
lines changed

__tests__/html/fluentTheme/simple.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
);
4949

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

5454
expect(window.WebChat.FluentThemeProvider).toBeTruthy();

__tests__/html2/preact/fluentTheme/simple.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
);
5555

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

6060
expect(window.WebChat.FluentThemeProvider).toBeTruthy();
File renamed without changes.

packages/support/cldr-data/src/index.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,6 @@ const childProcess = require('child_process');
2020
test('should load CLDR data', () =>
2121
new Promise((resolve, reject) =>
2222
childProcess
23-
.fork(join(__dirname, './index.spec.mjs'))
23+
.fork(join(__dirname, './index.spec-actual.mjs'))
2424
.on('exit', exitCode => (exitCode ? reject(exitCode) : resolve()))
2525
));

0 commit comments

Comments
 (0)