11/* eslint-disable @typescript-eslint/no-explicit-any */
22import { beforeAll , beforeEach , describe , expect , test } from 'vitest'
3- import { initAWSResources } from './testSupportCode/integrationTestEnvironment'
4- import { rangeWhereNameBetween , Sheep , SHEEP_ENTITY } from '../examples/sheepTypeAndEntity'
3+ import { initAWSResources } from './testSupportCode/integrationTestEnvironment.js '
4+ import { rangeWhereNameBetween , Sheep , SHEEP_ENTITY } from '../examples/sheepTypeAndEntity.js '
55import {
66 alisonIdentifier ,
77 alisonTheAlpaca ,
@@ -19,7 +19,7 @@ import {
1919 sunflowerFarm ,
2020 waddles ,
2121 yolko
22- } from '../examples/testData'
22+ } from '../examples/testData.js '
2323import { DeleteCommand , DynamoDBDocumentClient , ScanCommand } from '@aws-sdk/lib-dynamodb'
2424import {
2525 AllEntitiesStore ,
@@ -31,20 +31,20 @@ import {
3131 noopLogger ,
3232 SingleEntityOperations ,
3333 TablesConfig
34- } from '../../src/lib'
34+ } from '../../src/lib/index.js '
3535import {
3636 Chicken ,
3737 CHICKEN_ENTITY ,
3838 findOlderThan ,
3939 findYoungerThan ,
4040 gsiBreed ,
4141 TWO_GSI_CHICKEN_ENTITY
42- } from '../examples/chickenTypeAndEntity'
43- import { FARM_ENTITY } from '../examples/farmTypeAndEntity'
44- import { FakeClock } from '../unit/testSupportCode/fakes/fakeClock'
45- import { DUCK_ENTITY } from '../examples/duckTypeAndEntity'
46- import { DOG_ENTITY } from '../examples/dogTypeAndEntity'
47- import { CAT_ENTITY } from '../examples/catTypeAndEntity'
42+ } from '../examples/chickenTypeAndEntity.js '
43+ import { FARM_ENTITY } from '../examples/farmTypeAndEntity.js '
44+ import { FakeClock } from '../unit/testSupportCode/fakes/fakeClock.js '
45+ import { DUCK_ENTITY } from '../examples/duckTypeAndEntity.js '
46+ import { DOG_ENTITY } from '../examples/dogTypeAndEntity.js '
47+ import { CAT_ENTITY } from '../examples/catTypeAndEntity.js '
4848
4949// I've put all of the integration tests in this one file to slightly speed up test runs by only
5050// looking up CloudFormation values once. I couldn't find a way to do this otherwise with vitest
0 commit comments