Ensure all tests are run
This commit is contained in:
@@ -482,8 +482,8 @@ describe('databases', () => {
|
||||
|
||||
});
|
||||
|
||||
describe.only('findSourceArchive', function() {
|
||||
// not sure why, but some of these tests take more than two second to run.
|
||||
describe('findSourceArchive', function() {
|
||||
// not sure why, but some of these tests take more than two seconds to run.
|
||||
this.timeout(5000);
|
||||
|
||||
['src', 'output/src_archive'].forEach(name => {
|
||||
|
||||
@@ -25,11 +25,11 @@ describe('run-remote-query', function() {
|
||||
showInputBoxSpy = sandbox.stub(window, 'showInputBox');
|
||||
getRemoteRepositoryListsSpy = sandbox.stub();
|
||||
showAndLogErrorMessageSpy = sandbox.stub();
|
||||
mod = proxyquire('../../run-remote-query', {
|
||||
'./config': {
|
||||
mod = proxyquire('../../remote-queries/run-remote-query', {
|
||||
'../config': {
|
||||
getRemoteRepositoryLists: getRemoteRepositoryListsSpy
|
||||
},
|
||||
'./helpers': {
|
||||
'../helpers': {
|
||||
showAndLogErrorMessage: showAndLogErrorMessageSpy
|
||||
},
|
||||
});
|
||||
@@ -134,12 +134,12 @@ describe('run-remote-query', function() {
|
||||
logSpy = sandbox.stub();
|
||||
showAndLogErrorMessageSpy = sandbox.stub();
|
||||
showInformationMessageWithActionSpy = sandbox.stub();
|
||||
mod = proxyquire('../../run-remote-query', {
|
||||
'./helpers': {
|
||||
mod = proxyquire('../../remote-queries/run-remote-query', {
|
||||
'../helpers': {
|
||||
showAndLogErrorMessage: showAndLogErrorMessageSpy,
|
||||
showInformationMessageWithAction: showInformationMessageWithActionSpy
|
||||
},
|
||||
'./logging': {
|
||||
'../logging': {
|
||||
'logger': {
|
||||
log: logSpy
|
||||
}
|
||||
|
||||
@@ -7,7 +7,7 @@ import { sarifParser } from '../../sarif-parser';
|
||||
chai.use(chaiAsPromised);
|
||||
const expect = chai.expect;
|
||||
|
||||
describe.only('sarif parser', function() {
|
||||
describe('sarif parser', function() {
|
||||
const sarifDir = path.join(__dirname, 'data/sarif');
|
||||
it('should parse a valid SARIF file', async () => {
|
||||
const result = await sarifParser(path.join(sarifDir, 'validSarif.sarif'));
|
||||
@@ -22,4 +22,4 @@ describe.only('sarif parser', function() {
|
||||
const result = await sarifParser(path.join(sarifDir, 'emptyResultsSarif.sarif'));
|
||||
expect(result.runs[0].results).to.be.empty;
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user