mirror of
https://github.com/immich-app/immich
synced 2025-11-14 17:36:12 +00:00
refactor: e2e tests (#4536)
This commit is contained in:
parent
31987bc043
commit
4b59f83288
22 changed files with 189 additions and 201 deletions
|
|
@ -1,5 +1,5 @@
|
|||
import { PostgreSqlContainer } from '@testcontainers/postgresql';
|
||||
import * as fs from 'fs';
|
||||
import { access } from 'fs/promises';
|
||||
import path from 'path';
|
||||
|
||||
export default async () => {
|
||||
|
|
@ -23,8 +23,7 @@ export default async () => {
|
|||
}
|
||||
|
||||
const directoryExists = async (dirPath: string) =>
|
||||
await fs.promises
|
||||
.access(dirPath)
|
||||
await access(dirPath)
|
||||
.then(() => true)
|
||||
.catch(() => false);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue