Skip to content

Commit

Permalink
10007: PR feedback, add path to web-api to cypress ts config
Browse files Browse the repository at this point in the history
  • Loading branch information
rachelschneiderman committed Mar 12, 2024
1 parent 89f0a66 commit f944c4c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cypress/helpers/dynamo/getDynamoCypress.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { getCypressEnv } from '../env/cypressEnvironment';
import type {
DeleteRequest,
PutRequest,
} from '../../../web-api/src/persistence/dynamo/dynamoTypes';
} from '@web-api/persistence/dynamo/dynamoTypes';

let dynamoCache: DynamoDBClient;
let documentCache: DynamoDBDocument;
Expand Down
7 changes: 6 additions & 1 deletion cypress/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,12 @@
"noEmit": true,
"target": "es5",
"lib": ["es5", "dom"],
"types": ["cypress", "node"]
"types": ["cypress", "node"],
"paths": {
"@web-api/*": [
"../web-api/src/*"
],
}
},
"include": ["**/*.ts"]
}

0 comments on commit f944c4c

Please sign in to comment.