fixes it.each malformed usage (#4544)

This commit is contained in:
Dimitri Mitropoulos 2022-03-07 11:57:20 -08:00 committed by GitHub
parent 85d8290450
commit f4bc702401
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -183,11 +183,11 @@ describe('global', () => {
expect(store.getActions()).toEqual([expectedEvent]); expect(store.getActions()).toEqual([expectedEvent]);
}); });
it.each( it.each([
'something', 'something',
null, null,
undefined, undefined,
)('should go to home if initialized with an unsupported value: %s', async activity => { ])('should go to home if initialized with an unsupported value: %s', async activity => {
const settings = createSettings(true); const settings = createSettings(true);
const store = mockStore({ const store = mockStore({
global: {}, global: {},