Skip to content
Open
Show file tree
Hide file tree
Changes from 8 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions e2e/harmony/tsconfig-env-mismatch.e2e.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,9 @@ describe('tsconfig env mismatch between check-types and build', function () {
before(() => {
helper.scopeHelper.setWorkspaceWithRemoteScope();

// Create permissive tsconfig (no strict mode)
// Create permissive tsconfig (strict mode explicitly off).
// strict must be set explicitly because TS 6 changed the default from false to true,
// and this fixture was relying on the TS 5 default.
const permissiveTsconfig = JSON.stringify(
{
compilerOptions: {
Expand All @@ -55,7 +57,7 @@ describe('tsconfig env mismatch between check-types and build', function () {
moduleResolution: 'node',
esModuleInterop: true,
outDir: './dist',
// No strict mode - permissive
strict: false,
},
exclude: ['artifacts', 'public', 'dist', 'node_modules'],
},
Expand Down
Loading