Skip to content

Commit

Permalink
test: pass tsconfig
Browse files Browse the repository at this point in the history
  • Loading branch information
coderbyheart committed Nov 14, 2024
1 parent 248d82e commit ff799a1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cdk/packTestLambdas.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
import path from 'node:path'
import type { PackedLambda } from '../src/packLambda.js'
import { packLambdaFromPath } from '../src/packLambdaFromPath.js'

const __dirname = path.dirname(new URL(import.meta.url).pathname)

export type TestLambdas = {
test: PackedLambda
testAliasImports: PackedLambda
Expand All @@ -14,5 +17,6 @@ export const packTestLambdas = async (): Promise<TestLambdas> => ({
testAliasImports: await packLambdaFromPath({
id: 'testAliasImports',
sourceFilePath: 'cdk/lambda-with-subpath.ts',
tsConfigFilePath: path.join(__dirname, '..', 'tsconfig.json'),
}),
})

0 comments on commit ff799a1

Please sign in to comment.