Skip to content

Commit 7479398

Browse files
committed
fixup! Add low goal warning to My Accounts grid
1 parent 5703444 commit 7479398

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/AccountLists/AccountLists.test.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ describe('AccountLists', () => {
213213
});
214214

215215
describe('below machine-calculated warning', () => {
216-
it('is shown if goal is below machine-calculated goal', () => {
216+
it('is shown if goal is less than the machine-calculated goal', () => {
217217
const data = gqlMock<GetAccountListsQuery>(GetAccountListsDocument, {
218218
mocks: {
219219
accountLists: {
@@ -239,7 +239,7 @@ describe('AccountLists', () => {
239239
expect(getByText('Below machine-calculated goal')).toBeInTheDocument();
240240
});
241241

242-
it('is hidden if goal is above machine-calculated goal', async () => {
242+
it('is hidden if goal is greater than or equal to the machine-calculated goal', async () => {
243243
const data = gqlMock<GetAccountListsQuery>(GetAccountListsDocument, {
244244
mocks: {
245245
accountLists: {

0 commit comments

Comments
 (0)