Skip to content

Commit

Permalink
fix(test): import path fix
Browse files Browse the repository at this point in the history
feat(client): resolve & loader & plugin pages
  • Loading branch information
easy1090 committed Dec 12, 2023
1 parent a809c62 commit f34fae3
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 2 deletions.
7 changes: 7 additions & 0 deletions .changeset/polite-olives-wave.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
'@rsdoctor/components': patch
'@rsdoctor/client': patch
'@rsdoctor/types': patch
---

feat(client): add resolve & loader & plugin pages
2 changes: 1 addition & 1 deletion e2e/cases/doctor-webpack/summary.test.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { expect, test } from '@playwright/test';
import { getSDK } from '@rsdoctor/core/plugins';
import { Summary } from '@rsdoctor/utils';
import { Summary } from '@rsdoctor/utils/common';
import path from 'path';
import { compileByWebpack5 } from '@rsbuild/test-helper';
import { createRsdoctorPlugin } from './test-utils';
Expand Down
2 changes: 1 addition & 1 deletion packages/sdk/tests/server/apis/project.test.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { describe, it, expect, vi } from 'vitest';
import ip from 'ip';
import { Manifest, SDK } from '@rsdoctor/types';
import { Manifest as ManifestShared } from '@rsdoctor/utils';
import { Manifest as ManifestShared } from '@rsdoctor/utils/common';

import { cwd, setupSDK } from '../../utils';

Expand Down
11 changes: 11 additions & 0 deletions packages/sdk/tests/tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"extends": "../tsconfig.json",
"compilerOptions": {
"baseUrl": "./",
"paths": {
"@/*": ["../src/*"],
}
},
"include": ["./**/*.ts"],
"exclude": ["../**/node_modules"]
}

0 comments on commit f34fae3

Please sign in to comment.