Skip to content

Commit

Permalink
chore: fix dts test
Browse files Browse the repository at this point in the history
  • Loading branch information
2heal1 committed Jul 23, 2024
1 parent b7f190c commit 09ca705
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 37 deletions.
8 changes: 0 additions & 8 deletions packages/dts-plugin/src/core/lib/DTSManager.advance.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,14 +55,6 @@ describe('DTSManager advance usage', () => {
host: hostOptions,
});

afterAll(() => {
[
join(projectRoot, TEST_DIT_DIR, remoteOptions.typesFolder),
join(projectRoot, hostOptions.typesFolder),
].forEach((tmpDir) => {
rmSync(tmpDir, { recursive: true });
});
});
it('generate types with api declaration file', async () => {
const distFolder = join(
projectRoot,
Expand Down
29 changes: 0 additions & 29 deletions packages/dts-plugin/src/core/lib/typeScriptCompiler.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -124,26 +124,6 @@ describe('typeScriptCompiler', () => {
children: [
{
children: [
{
name: 'hostPlugin.d.ts',
},
{
name: 'remotePlugin.d.ts',
},
],
name: 'configurations',
},
{
name: 'constant.d.ts',
},
{
children: [
{
name: 'DTSManagerOptions.d.ts',
},
{
name: 'HostOptions.d.ts',
},
{
name: 'RemoteOptions.d.ts',
},
Expand All @@ -155,18 +135,9 @@ describe('typeScriptCompiler', () => {
},
{
children: [
{
name: 'DTSManager.d.ts',
},
{
name: 'archiveHandler.d.ts',
},
{
name: 'typeScriptCompiler.d.ts',
},
{
name: 'utils.d.ts',
},
],
name: 'lib',
},
Expand Down

0 comments on commit 09ca705

Please sign in to comment.