mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-18 07:07:35 +01:00
move completed todos outside of tasksOrder (and back) with tests
This commit is contained in:
@@ -15,7 +15,7 @@ describe('PUT /tasks/:id', () => {
|
||||
});
|
||||
});
|
||||
|
||||
xcontext('validates params', () => {
|
||||
context('validates params', () => {
|
||||
let task;
|
||||
|
||||
beforeEach(() => {
|
||||
@@ -64,7 +64,7 @@ describe('PUT /tasks/:id', () => {
|
||||
});
|
||||
});
|
||||
|
||||
xcontext('habits', () => {
|
||||
context('habits', () => {
|
||||
let habit;
|
||||
|
||||
beforeEach(() => {
|
||||
@@ -92,7 +92,7 @@ describe('PUT /tasks/:id', () => {
|
||||
});
|
||||
});
|
||||
|
||||
xcontext('todos', () => {
|
||||
context('todos', () => {
|
||||
let todo;
|
||||
|
||||
beforeEach(() => {
|
||||
@@ -255,7 +255,7 @@ describe('PUT /tasks/:id', () => {
|
||||
});
|
||||
});
|
||||
|
||||
xcontext('rewards', () => {
|
||||
context('rewards', () => {
|
||||
let reward;
|
||||
|
||||
beforeEach(() => {
|
||||
|
||||
Reference in New Issue
Block a user