chore: migrate CLI to ESM and vitest (#6777)

* chore: migrate CLI to ESM and vitest

* fix lint

* update github workflow

* format
This commit is contained in:
Ben McCann 2024-01-30 15:23:33 -08:00 committed by GitHub
parent 1bfef200a5
commit 9c7dee8551
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
21 changed files with 2447 additions and 4743 deletions

View file

@ -3,8 +3,14 @@ import { AssetController } from '@app/immich';
import { INestApplication } from '@nestjs/common';
import { exiftool } from 'exiftool-vendored';
import { readFile, writeFile } from 'fs/promises';
import {
IMMICH_TEST_ASSET_PATH,
IMMICH_TEST_ASSET_TEMP_PATH,
db,
restoreTempFolder,
testApp,
} from '../../../src/test-utils/utils';
import { api } from '../../client';
import { IMMICH_TEST_ASSET_PATH, IMMICH_TEST_ASSET_TEMP_PATH, db, restoreTempFolder, testApp } from '../utils';
describe(`${AssetController.name} (e2e)`, () => {
let app: INestApplication;