Skip to content

Commit b595030

Browse files
committed
test: ✅ rename todos
1 parent d3c81e8 commit b595030

File tree

9 files changed

+13
-13
lines changed

9 files changed

+13
-13
lines changed

apps/101-meal-planner-starter/src/app/meal-planner/meal-planner.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@ import { TestBed } from '@angular/core/testing';
22
import { MealPlanner } from './meal-planner';
33

44
describe(MealPlanner.name, () => {
5-
it.todo('should add recipe', () => {
5+
it.todo('🚧 adds recipes', () => {
66
const { mealPlanner } = createMealPlanner();
77

88
throw new Error('🚧 work in progress!');
99
});
1010

11-
it.todo('...');
11+
it.todo('🚧 ...');
1212

1313
function createMealPlanner() {
1414
return {

apps/201-meal-planner-indirect-output-starter/src/app/meal-planner/meal-planner.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ describe(MealPlanner.name, () => {
2525
);
2626
});
2727

28-
it.todo('🚧 should add recipe to meal repository');
28+
it.todo('🚧 adds recipes to meal repository');
2929

3030
describe('recipes$', () => {
3131
it('emits empty array when no recipes', async () => {

apps/202-meal-planner-indirect-input-starter/src/app/meal-planner/meal-planner.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ describe(MealPlanner.name, () => {
3939
]);
4040
});
4141

42-
it.todo('🚧 should fetch recipes from meal repository');
42+
it.todo('🚧 fetches recipes from meal repository');
4343

4444
describe('recipes$', () => {
4545
it('emits empty array when no recipes', async () => {

apps/203-meal-repository-starter/src/app/meal-planner/meal-repository.spec.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@ import { recipeMother } from '../testing/recipe.mother';
44
import { provideLocalStorageFake } from '../shared/local-storage.fake';
55

66
describe(MealRepository.name, () => {
7-
it.todo('🚧 should add recipe');
7+
it.todo('🚧 adds recipes');
88

9-
it.todo('🚧 should return empty array when storage is empty');
9+
it.todo('🚧 returns empty array when storage is empty');
1010

11-
it.todo('🚧 should return empty array when storage value is invalid');
11+
it.todo('🚧 returns empty array when storage value is invalid');
1212

1313
function createMealRepository() {
1414
const { getMealRepo, ...utils } = setUpMealRepository();

apps/301-recipe-search-isolated-starter/src/app/recipe/recipe-search.isolated.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { TestBed } from '@angular/core/testing';
22
import { RecipeSearch } from './recipe-search.ng';
33

44
describe(RecipeSearch.name, () => {
5-
it.todo('🚧 should search recipes without keyword on load');
5+
it.todo('🚧 searches recipes without filtering');
66

77
function createComponent() {
88
TestBed.configureTestingModule({ providers: [RecipeSearch] });

apps/302-recipe-search-integration-browser-mode-starter/src/app/recipe/recipe-search.browser.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import {
88
import { RecipeSearch } from './recipe-search.ng';
99

1010
describe(RecipeSearch.name, () => {
11-
it.todo('searches recipes without filtering', async () => {
11+
it.todo('🚧 searches recipes without filtering', async () => {
1212
const { getRecipeNameEls } = await mountRecipeSearch();
1313

1414
throw new Error('🚧 Work in progress!');

apps/302-recipe-search-integration-test-bed-starter/src/app/recipe/recipe-search.integration.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { TestBed } from '@angular/core/testing';
22
import { RecipeSearch } from './recipe-search.ng';
33

44
describe(RecipeSearch.name, () => {
5-
it.todo('🚧 should search recipes without filtering');
5+
it.todo('🚧 searches recipes without filtering');
66

77
async function mountRecipeSearch() {
88
const fixture = TestBed.createComponent(RecipeSearch);

apps/303-recipe-search-shallow-test-bed-starter/src/app/recipe/recipe-search.shallow.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { ComponentFixtureAutoDetect, TestBed } from '@angular/core/testing';
1+
import { TestBed } from '@angular/core/testing';
22
import { recipeMother } from '../testing/recipe.mother';
33
import {
44
provideRecipeRepositoryFake,
@@ -7,7 +7,7 @@ import {
77
import { RecipeSearch } from './recipe-search.ng';
88

99
describe(RecipeSearch.name, () => {
10-
it.todo('🚧 should search recipes without filtering');
10+
it.todo('🚧 searches recipes without filtering');
1111

1212
async function mountRecipeSearch() {
1313
TestBed.configureTestingModule({

apps/401-recipe-filter-starter/src/app/recipe/recipe-filter.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { render, screen } from '@testing-library/angular';
33
import userEvent from '@testing-library/user-event';
44

55
describe(RecipeFilter.name, () => {
6-
it.todo('🚧 should trigger filterChange output');
6+
it.todo('🚧 triggers filterChange output');
77

88
async function mountRecipeFilter() {
99
const { fixture } = await render(RecipeFilter);

0 commit comments

Comments
 (0)