refactor: node_env => immich_env (#9561)

This commit is contained in:
Jason Rasmussen 2024-05-17 13:30:05 -04:00 committed by GitHub
parent 2689178a35
commit 2e62c7b417
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 9 additions and 11 deletions

View file

@ -61,11 +61,11 @@ describe(VersionService.name, () => {
describe('handVersionCheck', () => {
beforeEach(() => {
process.env.NODE_ENV = 'production';
process.env.IMMICH_ENV = 'production';
});
it('should not run in dev mode', async () => {
process.env.NODE_ENV = 'development';
process.env.IMMICH_ENV = 'development';
await expect(sut.handleVersionCheck()).resolves.toEqual(JobStatus.SKIPPED);
});