Grammar fix
This commit is contained in:
parent
cbe9f47a59
commit
b377689ed2
2 changed files with 4 additions and 4 deletions
|
@ -4,7 +4,7 @@ import { renderHook, waitFor } from 'soapbox/jest/test-helpers';
|
|||
import useOnboardingSuggestions from '../suggestions';
|
||||
|
||||
describe('useCarouselAvatars', () => {
|
||||
describe('with a successul query', () => {
|
||||
describe('with a successful query', () => {
|
||||
beforeEach(() => {
|
||||
__stub((mock) => {
|
||||
mock.onGet('/api/v2/suggestions')
|
||||
|
@ -26,7 +26,7 @@ describe('useCarouselAvatars', () => {
|
|||
});
|
||||
});
|
||||
|
||||
describe('with an unsuccessul query', () => {
|
||||
describe('with an unsuccessful query', () => {
|
||||
beforeEach(() => {
|
||||
__stub((mock) => {
|
||||
mock.onGet('/api/v2/suggestions').networkError();
|
||||
|
|
|
@ -4,7 +4,7 @@ import { renderHook, waitFor } from 'soapbox/jest/test-helpers';
|
|||
import useTrends from '../trends';
|
||||
|
||||
describe('useTrends', () => {
|
||||
describe('with a successul query', () => {
|
||||
describe('with a successful query', () => {
|
||||
beforeEach(() => {
|
||||
__stub((mock) => {
|
||||
mock.onGet('/api/v1/trends')
|
||||
|
@ -24,7 +24,7 @@ describe('useTrends', () => {
|
|||
});
|
||||
});
|
||||
|
||||
describe('with an unsuccessul query', () => {
|
||||
describe('with an unsuccessful query', () => {
|
||||
beforeEach(() => {
|
||||
__stub((mock) => {
|
||||
mock.onGet('/api/v1/trends').networkError();
|
||||
|
|
Loading…
Reference in a new issue