Skip to content

Commit

Permalink
No commit message
Browse files Browse the repository at this point in the history
  • Loading branch information
ferrislucas committed Nov 3, 2024
1 parent 2f7bd6e commit 133eef1
Show file tree
Hide file tree
Showing 11 changed files with 18 additions and 7 deletions.
1 change: 1 addition & 0 deletions test/AutoContext.test.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { describe, it } from 'mocha'
import assert from 'assert';
import AutoContext from '../src/services/AutoContext.js';

Expand Down
1 change: 1 addition & 0 deletions test/ExtractOperationsService.test.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { describe, it } from 'mocha'
import assert from 'assert'
import { ExtractOperationsService } from '../src/services/ExtractOperationsService.js'

Expand Down
3 changes: 2 additions & 1 deletion test/FileService.test.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { describe, it } from 'mocha'
import { FileService } from '../src/services/FileService.js';
import fs from 'fs';
import assert from 'assert';
Expand Down Expand Up @@ -57,4 +58,4 @@ describe('FileService', () => {
assert.strictEqual(exists, false);
});
});
});
});
1 change: 1 addition & 0 deletions test/Main.test.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { describe, it } from 'mocha'
import assert from 'assert'
import Main from '../src/Main.js'
import PromptrService from '../src/services/PromptrService.js'
Expand Down
3 changes: 2 additions & 1 deletion test/OpenAiGptService.test.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { describe, it } from 'mocha'
import assert from 'assert';
import sinon from 'sinon';
import OpenAiGptService from '../src/services/OpenAiGptService.js';
Expand Down Expand Up @@ -121,4 +122,4 @@ describe('OpenAiGptService', () => {

sinon.assert.callCount(openaiStub, models.length);
});
});
});
1 change: 1 addition & 0 deletions test/PromptContext.test.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { describe, it } from 'mocha'
import assert from 'assert';
import sinon from 'sinon';
import PromptContext from '../src/services/PromptContext.js';
Expand Down
3 changes: 2 additions & 1 deletion test/PromptrService_call.test.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { describe, it } from 'mocha'
import assert from 'assert';
import sinon from 'sinon';
import PromptrService from '../src/services/PromptrService.js';
Expand Down Expand Up @@ -103,4 +104,4 @@ describe('PromptrService', () => {
});
});

});
});
3 changes: 2 additions & 1 deletion test/PromptrService_executeMode.test.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { describe, it } from 'mocha'
import assert from 'assert';
import sinon from 'sinon';
import PromptrService from '../src/services/PromptrService.js';
Expand Down Expand Up @@ -88,4 +89,4 @@ describe('PromptrService', () => {
});
});

});
});
3 changes: 2 additions & 1 deletion test/PromptrService_shouldRefactor.test.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { describe, it } from 'mocha'
import assert from 'assert';
import sinon from 'sinon';
import PromptrService from '../src/services/PromptrService.js';
Expand Down Expand Up @@ -32,4 +33,4 @@ describe('PromptrService', () => {
})
})

});
});
3 changes: 2 additions & 1 deletion test/cliState.test.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { describe, it } from 'mocha'
import assert from 'assert';
import CliState from '../src/CliState.js';

Expand All @@ -10,4 +11,4 @@ describe('CliState', () => {
assert.strictEqual(opts.prompt, 'Test prompt');
assert.strictEqual(opts.verbose, true);
});
});
});
3 changes: 2 additions & 1 deletion test/refactorResultProcessor.test.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { describe, it } from 'mocha'
import fs from 'fs';
import path from 'path';
import assert from 'assert';
Expand Down Expand Up @@ -146,4 +147,4 @@ describe('RefactorResultProcessor', () => {
if (fs.existsSync(path.resolve('test/testDirNew/nested'))) fs.rmdirSync(path.resolve('test/testDirNew'), { recursive: true })
});
});
});
});

0 comments on commit 133eef1

Please sign in to comment.