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 eacd161 commit 36c5580Copy full SHA for 36c5580
test/test.mjs
@@ -964,6 +964,18 @@ describe('dependencyTree', () => {
964
965
assert.equal(typeof config.tsConfig, 'object');
966
});
967
+
968
+ it('includes the tsConfigPath so filing-cabinet can still resolve compilerOptions.paths correctly', () => {
969
+ const directory = path.join(__dirname, 'fixtures/ts');
970
+ const tsConfigPath = path.join(directory, '.tsconfig');
971
+ const config = new Config({
972
+ filename: 'foo',
973
+ directory: 'bar',
974
+ tsConfig: tsConfigPath
975
+ });
976
977
+ assert.equal(config.tsConfigPath, tsConfigPath);
978
979
980
981
describe('when cloning', () => {
0 commit comments