Skip to content

Commit

Permalink
chore: remove repetitive words
Browse files Browse the repository at this point in the history
  • Loading branch information
NinaLua committed May 1, 2024
1 parent 4e28e17 commit 42397b8
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion webapp/src/modules/asset/reducer.spec.ts
Expand Up @@ -122,7 +122,7 @@ describe.each([
loading: loadingReducer([], requestAction)
}

it('should return a state with the the loaded items with the fetched item and the loading state cleared', () => {
it('should return a state with the loaded items with the fetched item and the loading state cleared', () => {
expect(assetReducer(initialState, successAction)).toEqual({
...INITIAL_STATE,
loading: [],
Expand Down
2 changes: 1 addition & 1 deletion webapp/src/modules/contract/reducer.spec.ts
Expand Up @@ -112,7 +112,7 @@ describe('when upsert contracts action is received', () => {
})
})

describe('when the reset of the the has fetched flag is received', () => {
describe('when the reset of the has fetched flag is received', () => {
let hasFetched: boolean

describe('when has fetched was true', () => {
Expand Down
2 changes: 1 addition & 1 deletion webapp/src/modules/event/reducer.spec.ts
Expand Up @@ -60,7 +60,7 @@ describe('when reducing the successful action of fetching an event addresses by
loading: loadingReducer([], requestAction)
}

it('should return a state with the the loaded events and the loading state cleared', () => {
it('should return a state with the loaded events and the loading state cleared', () => {
expect(eventReducer(initialState, successAction)).toEqual({
...INITIAL_STATE,
loading: [],
Expand Down
12 changes: 6 additions & 6 deletions webapp/src/modules/favorites/reducer.spec.ts
Expand Up @@ -486,7 +486,7 @@ describe('when reducing the successful action of getting a list', () => {
}
})

it('should return an state with the the new list overwriting the old one and the loading state cleared', () => {
it('should return an state with the new list overwriting the old one and the loading state cleared', () => {
expect(favoritesReducer(initialState, successAction)).toEqual({
...INITIAL_STATE,
loading: [],
Expand All @@ -501,7 +501,7 @@ describe('when reducing the successful action of getting a list', () => {
})

describe("and the list doesn't exist in the state", () => {
it('should return a state with the the new list and the loading state cleared', () => {
it('should return a state with the new list and the loading state cleared', () => {
expect(favoritesReducer(initialState, successAction)).toEqual({
...INITIAL_STATE,
loading: [],
Expand All @@ -515,7 +515,7 @@ describe('when reducing the successful action of getting a list', () => {
})
})

it('should return a state with the the new list and the loading state cleared', () => {
it('should return a state with the new list and the loading state cleared', () => {
expect(favoritesReducer(initialState, successAction)).toEqual({
...INITIAL_STATE,
loading: [],
Expand Down Expand Up @@ -576,7 +576,7 @@ describe('when reducing the successful action of updating a list', () => {
}
})

it('should return a state with the the updated list and the loading state cleared', () => {
it('should return a state with the updated list and the loading state cleared', () => {
expect(favoritesReducer(initialState, successAction)).toEqual({
...INITIAL_STATE,
loading: [],
Expand Down Expand Up @@ -621,7 +621,7 @@ describe('when reducing the successful action of creating a list', () => {
}
})

it('should return a state with the the updated list and the loading state cleared', () => {
it('should return a state with the updated list and the loading state cleared', () => {
expect(favoritesReducer(initialState, successAction)).toEqual({
...INITIAL_STATE,
loading: [],
Expand Down Expand Up @@ -659,7 +659,7 @@ describe('when reducing the clear action of creating a list', () => {
}
})

it('should return a state with the the updated list and the loading state cleared', () => {
it('should return a state with the updated list and the loading state cleared', () => {
expect(favoritesReducer(initialState, clearAction)).toEqual({
...INITIAL_STATE,
loading: [],
Expand Down
6 changes: 3 additions & 3 deletions webapp/src/modules/item/reducer.spec.ts
Expand Up @@ -187,7 +187,7 @@ describe('when reducing the successful action of fetching items', () => {
}

describe('and the fetched items are not in the state', () => {
it('should return a state with the the loaded items and the loading state cleared', () => {
it('should return a state with the loaded items and the loading state cleared', () => {
expect(itemReducer(initialState, successAction)).toEqual({
...INITIAL_STATE,
loading: [],
Expand Down Expand Up @@ -237,7 +237,7 @@ describe.each([
loading: loadingReducer([], requestAction)
}

it('should return a state with the the loaded items with the fetched item and the loading state cleared', () => {
it('should return a state with the loaded items with the fetched item and the loading state cleared', () => {
expect(itemReducer(initialState, successAction)).toEqual({
...INITIAL_STATE,
loading: [],
Expand Down Expand Up @@ -299,7 +299,7 @@ describe('when reducing the successful action of fetching trending items', () =>
loading: loadingReducer([], requestAction)
}

it('should return a state with the the loaded items plus the fetched trending items and the loading state cleared', () => {
it('should return a state with the loaded items plus the fetched trending items and the loading state cleared', () => {
expect(itemReducer(initialState, successAction)).toEqual({
...INITIAL_STATE,
loading: [],
Expand Down
4 changes: 2 additions & 2 deletions webapp/src/modules/order/reducer.spec.ts
Expand Up @@ -145,7 +145,7 @@ describe('when reducing the successful action of fetching nfts', () => {
loading: loadingReducer([], requestAction)
}

it('should return a state with the the loaded orders and the loading state cleared', () => {
it('should return a state with the loaded orders and the loading state cleared', () => {
expect(orderReducer(initialState, successAction)).toEqual({
...INITIAL_STATE,
loading: [],
Expand Down Expand Up @@ -205,7 +205,7 @@ describe('when reducing the successful action of fetching an nft', () => {
loading: loadingReducer([], requestAction)
}

it('should return a state with the the loaded orders plus the fetched order and the loading state cleared', () => {
it('should return a state with the loaded orders plus the fetched order and the loading state cleared', () => {
expect(orderReducer(initialState, successAction)).toEqual({
...INITIAL_STATE,
loading: [],
Expand Down
2 changes: 1 addition & 1 deletion webapp/src/modules/ui/asset/homepage/reducer.spec.ts
Expand Up @@ -23,7 +23,7 @@ describe('when reducing the successful action of fetching trending items', () =>
home_trending_items: [item.id]
}

it('should return a state with the the loaded items plus the fetched trending items and the loading state cleared', () => {
it('should return a state with the loaded items plus the fetched trending items and the loading state cleared', () => {
expect(homepageReducer(initialState, successAction)).toEqual({
...INITIAL_STATE,
home_trending_items: [anotherItem.id]
Expand Down

0 comments on commit 42397b8

Please sign in to comment.