Skip to content

Commit

Permalink
fix: removed compile tests
Browse files Browse the repository at this point in the history
  • Loading branch information
arthurfiorette committed May 5, 2024
1 parent 6790818 commit 267ad71
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 155 deletions.
143 changes: 0 additions & 143 deletions packages/html/test/compile.test.tsx

This file was deleted.

15 changes: 3 additions & 12 deletions packages/html/test/util.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,18 +87,9 @@ describe('Util', () => {

test('esm and cjs usage', async () => {
const Html0 = require('../index');
const { Html: Html1 } = require('../index');
const Html2 = require('../index').default;
const Html1 = await import('../index');

const Html3 = await import('../index');
const { Html: Html4 } = await import('../index');
const Html5 = (await import('../index')).default;

assert.deepEqual(Html0, Html);
assert.deepEqual(Html1, Html);
assert.deepEqual(Html2, Html);
assert.deepEqual(Html3, Html);
assert.deepEqual(Html4, Html);
assert.deepEqual(Html5, Html);
assert.deepStrictEqual(Html0, Html);
assert.deepStrictEqual(Html1, Html);
});
});

0 comments on commit 267ad71

Please sign in to comment.