Skip to content
This repository was archived by the owner on Aug 23, 2022. It is now read-only.

Commit bccf6fb

Browse files
committed
Removing console logs
1 parent 8ad609a commit bccf6fb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/field-actions-spec.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1316,7 +1316,7 @@ describe('field actions', () => {
13161316
});
13171317

13181318
it('should call a callback if validation passes', (done) => {
1319-
const callback = sinon.spy((val) => console.log('hey', val));
1319+
const callback = sinon.spy((val) => val);
13201320

13211321
const store = mockStore(
13221322
() => ({ test: { foo: 'bar' } }),
@@ -1340,7 +1340,7 @@ describe('field actions', () => {
13401340
});
13411341

13421342
it('should NOT call a callback if validation fails', (done) => {
1343-
const callback = sinon.spy((val) => console.log('hey', val));
1343+
const callback = sinon.spy((val) => val);
13441344

13451345
const store = mockStore(
13461346
() => ({ test: { foo: 'bar' } }),

0 commit comments

Comments
 (0)