mirror of
https://github.com/immich-app/immich
synced 2025-11-14 17:36:12 +00:00
refactor: node_env => immich_env (#9561)
This commit is contained in:
parent
2689178a35
commit
2e62c7b417
7 changed files with 9 additions and 11 deletions
|
|
@ -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);
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue