Skip to content

Commit

Permalink
Update test expectations
Browse files Browse the repository at this point in the history
  • Loading branch information
webfiltered committed Dec 24, 2024
1 parent 9dfe0b4 commit c57c90f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/unit/comfyConfigManager.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ describe('ComfyConfigManager', () => {
});

describe('setUpComfyUI', () => {
it('should reject existing directory when it contains ComfyUI structure', () => {
it('should allow existing directory when it contains ComfyUI structure', () => {
vi.mocked(fs.existsSync).mockReturnValue(true);
expect(() => ComfyConfigManager.createComfyDirectories(path.normalize('/existing/ComfyUI'))).toThrow();
expect(() => ComfyConfigManager.createComfyDirectories(path.normalize('/existing/ComfyUI'))).not.toThrow();
});

it('should create ComfyUI subdirectory when it is missing', () => {
Expand Down

0 comments on commit c57c90f

Please sign in to comment.