Skip to content

Commit

Permalink
N21-1269 fixes feathers test with resetting sinon stubs
Browse files Browse the repository at this point in the history
  • Loading branch information
arnegns committed Sep 18, 2023
1 parent 6635d08 commit 04bf666
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion test/services/roster/index.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const {

chai.use(chaiHttp);

describe('roster service', function oauth() {
describe.only('roster service', function oauth() {
let app;
let metadataService;
let userGroupsService;
Expand Down Expand Up @@ -92,6 +92,10 @@ describe('roster service', function oauth() {
return Promise.resolve();
});

afterEach(() => {
sinon.restore();
});

after(() =>
Promise.all([
pseudonymService.remove(null, { query: {} }),
Expand Down

0 comments on commit 04bf666

Please sign in to comment.