Skip to content

Commit

Permalink
test flaky test on github
Browse files Browse the repository at this point in the history
  • Loading branch information
bpatrik committed Apr 5, 2024
1 parent 89caba6 commit 58d8a50
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions test/backend/integration/routers/admin/SettingsRouter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,17 +48,15 @@ describe('SettingsRouter', () => {
attachVolatile: true,
skipTags: {secret: true} as TAGS
})));
//TODO: fix broken test.
// It breaks if config. sets value through constructor
/*

const result = await chai.request(server.Server)
.get(Config.Server.apiPath + '/settings');

result.res.should.have.status(200);
result.body.should.be.a('object');
should.equal(result.body.error, null);
(result.body.result as ServerConfig).Environment.upTime = null;
result.body.result.should.deep.equal(originalJSON);*/
result.body.result.should.deep.equal(originalJSON);
});
});
});

0 comments on commit 58d8a50

Please sign in to comment.