Skip to content

Commit

Permalink
Exclude SST from type checks
Browse files Browse the repository at this point in the history
  • Loading branch information
dankochetov committed Apr 6, 2024
1 parent 9c30efd commit df2bd77
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
3 changes: 2 additions & 1 deletion dprint.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@
"**/drizzle2/**/meta",
"**/*snapshot.json",
"**/_journal.json",
"**/tsup.config*.mjs"
"**/tsup.config*.mjs",
"**/.sst"
],
"plugins": [
"https://plugins.dprint.dev/typescript-0.83.0.wasm",
Expand Down
3 changes: 3 additions & 0 deletions integration-tests/tests/awsdatapi.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,11 @@ beforeAll(async () => {
const rdsClient = new RDSDataClient();

db = drizzle(rdsClient, {
// @ts-ignore
database: Resource.Postgres.database,
// @ts-ignore
secretArn: Resource.Postgres.secretArn,
// @ts-ignore
resourceArn: Resource.Postgres.clusterArn,
logger: ENABLE_LOGGING,
});
Expand Down
4 changes: 2 additions & 2 deletions integration-tests/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@
"~/*": ["./tests/*"]
}
},
"include": ["tests", "type-tests", "sst.config.ts", "sst-env.d.ts"],
"exclude": ["**/playground"]
"include": ["tests", "type-tests"],
"exclude": ["**/playground", "**/.sst"]
}

0 comments on commit df2bd77

Please sign in to comment.