Skip to content

Commit 857b8d1

Browse files
committed
Revert "eslint --fix ."
This reverts commit c93a08c.
1 parent 67e02ac commit 857b8d1

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

test/unexpected-snapshot.js

+9-9
Original file line numberDiff line numberDiff line change
@@ -745,10 +745,10 @@ it('should foo', function() {
745745
{
746746
date: new Date('2019-05-09T12:34:56.789Z'),
747747
buffer: Buffer.from([0xde, 0xad, 0xbe, 0xef]),
748-
undefined,
748+
undefined: undefined,
749749
null: null,
750-
NaN,
751-
Infinity,
750+
NaN: NaN,
751+
Infinity: Infinity,
752752
number: 123.456,
753753
regexp: /abc(?:)/gim,
754754
},
@@ -763,21 +763,21 @@ it('should foo', function() {
763763
{
764764
date: new Date('2019-05-09T12:34:56.789Z'),
765765
buffer: Buffer.from([0xde, 0xad, 0xbe, 0xef]),
766-
undefined,
766+
undefined: undefined,
767767
null: null,
768-
NaN,
769-
Infinity,
768+
NaN: NaN,
769+
Infinity: Infinity,
770770
number: 123.456,
771771
regexp: /abc(?:)/gim,
772772
},
773773
'to equal snapshot',
774774
{
775775
date: new Date('2019-05-09T12:34:56.789Z'),
776776
buffer: Buffer.from([0xde, 0xad, 0xbe, 0xef]),
777-
undefined,
777+
undefined: undefined,
778778
null: null,
779-
NaN,
780-
Infinity,
779+
NaN: NaN,
780+
Infinity: Infinity,
781781
number: 123.456,
782782
regexp: /abc(?:)/gim,
783783
}

0 commit comments

Comments
 (0)