File tree 2 files changed +9
-3
lines changed 2 files changed +9
-3
lines changed Original file line number Diff line number Diff line change 214
214
activerecord (>= 6.1.0 )
215
215
json (2.5.1 )
216
216
jwt (2.2.2 )
217
- libv8 ( 8.4.255 .0 )
217
+ libv8-node ( 15.14.0 .0 )
218
218
listen (3.5.1 )
219
219
rb-fsevent (~> 0.10 , >= 0.10.3 )
220
220
rb-inotify (~> 0.9 , >= 0.9.10 )
230
230
mini_magick (4.11.0 )
231
231
mini_mime (1.0.3 )
232
232
mini_portile2 (2.5.0 )
233
- mini_racer (0.3.1 )
234
- libv8 (~> 8.4.255 )
233
+ mini_racer (0.4.0 )
234
+ libv8-node (~> 15.14.0.0 )
235
235
minitest (5.14.4 )
236
236
minitest-around (0.5.0 )
237
237
minitest (~> 5.0 )
Original file line number Diff line number Diff line change @@ -25,4 +25,10 @@ class JsCheckerTest < ActiveSupport::TestCase
25
25
assert_not jsc . check
26
26
assert_not_empty jsc . errors
27
27
end
28
+
29
+ test 'logical nullish' do
30
+ jsc = ::JsChecker . new ( 'let x = null; x ??= 1;' )
31
+ assert jsc . check
32
+ assert_empty jsc . errors
33
+ end
28
34
end
You can’t perform that action at this time.
0 commit comments