Skip to content

Commit 2d39bee

Browse files
committed
Ensure all tests are run
1 parent 56eeb1b commit 2d39bee

3 files changed

Lines changed: 10 additions & 10 deletions

File tree

extensions/ql-vscode/src/vscode-tests/minimal-workspace/databases.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -482,8 +482,8 @@ describe('databases', () => {
482482

483483
});
484484

485-
describe.only('findSourceArchive', function() {
486-
// not sure why, but some of these tests take more than two second to run.
485+
describe('findSourceArchive', function() {
486+
// not sure why, but some of these tests take more than two seconds to run.
487487
this.timeout(5000);
488488

489489
['src', 'output/src_archive'].forEach(name => {

extensions/ql-vscode/src/vscode-tests/no-workspace/run-remote-query.test.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,11 @@ describe('run-remote-query', function() {
2525
showInputBoxSpy = sandbox.stub(window, 'showInputBox');
2626
getRemoteRepositoryListsSpy = sandbox.stub();
2727
showAndLogErrorMessageSpy = sandbox.stub();
28-
mod = proxyquire('../../run-remote-query', {
29-
'./config': {
28+
mod = proxyquire('../../remote-queries/run-remote-query', {
29+
'../config': {
3030
getRemoteRepositoryLists: getRemoteRepositoryListsSpy
3131
},
32-
'./helpers': {
32+
'../helpers': {
3333
showAndLogErrorMessage: showAndLogErrorMessageSpy
3434
},
3535
});
@@ -134,12 +134,12 @@ describe('run-remote-query', function() {
134134
logSpy = sandbox.stub();
135135
showAndLogErrorMessageSpy = sandbox.stub();
136136
showInformationMessageWithActionSpy = sandbox.stub();
137-
mod = proxyquire('../../run-remote-query', {
138-
'./helpers': {
137+
mod = proxyquire('../../remote-queries/run-remote-query', {
138+
'../helpers': {
139139
showAndLogErrorMessage: showAndLogErrorMessageSpy,
140140
showInformationMessageWithAction: showInformationMessageWithActionSpy
141141
},
142-
'./logging': {
142+
'../logging': {
143143
'logger': {
144144
log: logSpy
145145
}

extensions/ql-vscode/src/vscode-tests/no-workspace/sarifParser.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import { sarifParser } from '../../sarif-parser';
77
chai.use(chaiAsPromised);
88
const expect = chai.expect;
99

10-
describe.only('sarif parser', function() {
10+
describe('sarif parser', function() {
1111
const sarifDir = path.join(__dirname, 'data/sarif');
1212
it('should parse a valid SARIF file', async () => {
1313
const result = await sarifParser(path.join(sarifDir, 'validSarif.sarif'));
@@ -22,4 +22,4 @@ describe.only('sarif parser', function() {
2222
const result = await sarifParser(path.join(sarifDir, 'emptyResultsSarif.sarif'));
2323
expect(result.runs[0].results).to.be.empty;
2424
});
25-
});
25+
});

0 commit comments

Comments
 (0)