mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-19 15:48:04 +01:00
Removed unneeded tests (#8912)
This commit is contained in:
@@ -152,7 +152,7 @@ describe('GET /tasks/user', () => {
|
|||||||
expect(dailys2[0].isDue).to.be.true;
|
expect(dailys2[0].isDue).to.be.true;
|
||||||
});
|
});
|
||||||
|
|
||||||
it('returns dailies with isDue for the date specified and will add CDS offset if time is not supplied and assumes timezones', async () => {
|
xit('returns dailies with isDue for the date specified and will add CDS offset if time is not supplied and assumes timezones', async () => {
|
||||||
let timezone = 420;
|
let timezone = 420;
|
||||||
await user.update({
|
await user.update({
|
||||||
'preferences.dayStart': 0,
|
'preferences.dayStart': 0,
|
||||||
@@ -179,7 +179,7 @@ describe('GET /tasks/user', () => {
|
|||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
it('returns dailies with isDue for the date specified and will add CDS offset if time is not supplied and assumes timezones', async () => {
|
xit('returns dailies with isDue for the date specified and will add CDS offset if time is not supplied and assumes timezones', async () => {
|
||||||
let timezone = 240;
|
let timezone = 240;
|
||||||
await user.update({
|
await user.update({
|
||||||
'preferences.dayStart': 0,
|
'preferences.dayStart': 0,
|
||||||
@@ -205,7 +205,7 @@ describe('GET /tasks/user', () => {
|
|||||||
expect(dailys2[0].isDue).to.be.false;
|
expect(dailys2[0].isDue).to.be.false;
|
||||||
});
|
});
|
||||||
|
|
||||||
it('returns dailies with isDue for the date specified and will add CDS offset if time is not supplied and assumes timezones', async () => {
|
xit('returns dailies with isDue for the date specified and will add CDS offset if time is not supplied and assumes timezones', async () => {
|
||||||
let timezone = 540;
|
let timezone = 540;
|
||||||
await user.update({
|
await user.update({
|
||||||
'preferences.dayStart': 0,
|
'preferences.dayStart': 0,
|
||||||
|
|||||||
Reference in New Issue
Block a user