mirror of
https://github.com/xuthus83/pigallery2.git
synced 2024-11-03 21:04:03 +08:00
test flaky test on github
This commit is contained in:
parent
8c86dcbf6f
commit
01e9490d4f
@ -48,9 +48,7 @@ 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');
|
||||
|
||||
@ -58,7 +56,7 @@ describe('SettingsRouter', () => {
|
||||
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);
|
||||
});
|
||||
});
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user