|
1 | | -import assert from 'node:assert' |
| 1 | +import assert from 'node:assert'; |
2 | 2 |
|
3 | | -import { run } from '@stencil/core/cli' |
4 | | -import { version } from '@stencil/core/compiler' |
| 3 | +import { run } from '@stencil/core/cli'; |
| 4 | +import { version } from '@stencil/core/compiler'; |
5 | 5 | import { MockDocument } from '@stencil/core/mock-doc'; |
6 | 6 | import type { BuildConditionals } from '@stencil/core/internal'; |
7 | | -import { BUILD } from '@stencil/core/internal/app-data' |
8 | | -import { createNodeLogger } from '@stencil/core/sys/node' |
| 7 | +import { BUILD } from '@stencil/core/internal/app-data'; |
| 8 | +import { createNodeLogger } from '@stencil/core/sys/node'; |
| 9 | +import { createTesting } from '@stencil/core/testing'; |
9 | 10 |
|
10 | | -assert(typeof version === 'string') |
11 | | -version.slice() |
12 | | -BUILD as BuildConditionals |
| 11 | +assert(typeof version === 'string'); |
| 12 | +version.slice(); |
| 13 | +BUILD as BuildConditionals; |
13 | 14 |
|
14 | | -assert(typeof run, 'function') |
15 | | -run.call |
| 15 | +assert(typeof run, 'function'); |
| 16 | +run.call; |
16 | 17 |
|
17 | | -assert(typeof MockDocument === 'function') |
18 | | -assert(typeof BUILD !== 'undefined') |
19 | | -assert(typeof createNodeLogger === 'function') |
| 18 | +assert(typeof MockDocument === 'function'); |
| 19 | +assert(typeof BUILD !== 'undefined'); |
| 20 | +assert(typeof createNodeLogger === 'function'); |
| 21 | +assert(typeof createTesting === 'function'); |
| 22 | + |
| 23 | +console.log(`🎉 All ESM imports successfully resolved!`); |
| 24 | +console.log('✅ passed!\n'); |
0 commit comments