Skip to content

Commit

Permalink
remove .only from some tests
Browse files Browse the repository at this point in the history
  • Loading branch information
virgilchiriac committed Nov 22, 2023
1 parent 0ceff89 commit 4277a2e
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion test/services/content/material.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const Material = require('../../../src/services/content/material-model');
const { cleanup, createTestCourse, createTestUser, createTestLesson, generateRequestParamsFromUser } =
require('../helpers/testObjects')(appPromise());

describe.only('material service', () => {
describe('material service', () => {
let app;
let server;
let nestServices;
Expand Down
6 changes: 3 additions & 3 deletions test/services/datasources/datasourceRuns.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ class MockSyncerWithData extends Syncer {
}
}

describe.only('datasourceRuns service', () => {
describe('datasourceRuns service', () => {
let app;
let datasourceRunsService;
let server;
Expand All @@ -57,8 +57,8 @@ describe.only('datasourceRuns service', () => {
app.unuse('/sync/userAccount');
app.unuse('/sync');
// eslint-disable-next-line global-require
//const sync = require('../../../src/services/sync');
//app.configure(sync);
const sync = require('../../../src/services/sync');
app.configure(sync);
server = await app.listen(0);
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const fixtures = require('../fixtures');
const { expect } = chai;
chai.use(chaiAsPromised);

describe.only('filePermissionHelper', () => {
describe('filePermissionHelper', () => {
describe('checkPermissions function should', () => {
before(async () => {
const promises = [
Expand Down
2 changes: 1 addition & 1 deletion test/services/ldap/strategies/iserv-idm.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ const appPromise = require('../../../../src/app');
const AbstractLDAPStrategy = require('../../../../src/services/ldap/strategies/interface');
const IservIdmLDAPStrategy = require('../../../../src/services/ldap/strategies/iserv-idm');

describe.only('IservIdmLDAPStrategy', () => {
describe('IservIdmLDAPStrategy', () => {
it('implements AbstractLDAPStrategy', () => {
expect(new IservIdmLDAPStrategy()).to.be.instanceOf(AbstractLDAPStrategy);
});
Expand Down
2 changes: 1 addition & 1 deletion test/services/link/index.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const logger = require('../../../src/logger');

chai.use(chaiHttp);

describe.only('link service', () => {
describe('link service', () => {
let app;
let port;
let server;
Expand Down
2 changes: 1 addition & 1 deletion test/services/teams/helper/helper.hook.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const service = require('../../../utils/feathers-mongoose');
const { Configuration } = require('@hpi-schul-cloud/commons');
const service = require('../../../../src/utils/feathers-mongoose');

const { BadRequest } = require('../../../../src/errors');

Expand Down

0 comments on commit 4277a2e

Please sign in to comment.