We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9fab8c0 commit 8fd0c06Copy full SHA for 8fd0c06
packages/core/rstest.config.ts
@@ -5,6 +5,7 @@ export default defineConfig({
5
include: ['<rootDir>/tests/**/*.test.ts'],
6
globals: true,
7
source: {
8
+ tsconfigPath: './tests/tsconfig.json',
9
define: {
10
RSTEST_VERSION: JSON.stringify('0.0.0'),
11
'process.env.GITHUB_ACTIONS': JSON.stringify('false'),
packages/core/src/core/rstest.ts
@@ -119,6 +119,11 @@ export class Rstest implements RstestContext {
119
if (existsSync(tsconfigPath)) {
120
config.source.tsconfigPath = tsconfigPath;
121
}
122
+ } else {
123
+ config.source.tsconfigPath = getAbsolutePath(
124
+ config.root,
125
+ config.source.tsconfigPath,
126
+ );
127
128
return {
129
configFilePath: project.configFilePath,
0 commit comments