We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 709ad99 commit d052f55Copy full SHA for d052f55
test/utils/identity.spec.js
@@ -4,7 +4,7 @@ import identity from '../../src/utils/identity';
4
describe('Utils', () => {
5
describe('identity', () => {
6
it('should return first argument passed to it', () => {
7
- var test = { 'a': 1 };
+ const test = { 'a': 1 };
8
expect(identity(test, 'test')).toBe(test);
9
});
10
0 commit comments