Migrate some more code to ES6 (5).

Review Request #10455 — Created March 20, 2019 and submitted

Information

Review Board
release-4.0.x

Reviewers

This change converts all remaining test code to ES6.

Ran js-tests.

Summary ID
Migrate some more code to ES6 (5).
This change converts all remaining test code to ES6. Testing done: Ran js-tests.
087db3eb299015557b983157d04a6d638e8044b1
Description From Last Updated

Col: 19 'view' is defined but never used.

reviewbotreviewbot

Too many spaces.

chipx86chipx86

Col: 19 'view' is defined but never used.

reviewbotreviewbot

function() {

chipx86chipx86

function() It's better to let beforeEach(), it(), describe(), etc. be multi-line anyway so it's less of a change to add …

chipx86chipx86

Col: 13 Do not use 'new' for side effects.

reviewbotreviewbot
Checks run (1 failed, 1 succeeded)
flake8 passed.
JSHint failed.

JSHint

david
Review request changed
Commits:
Summary ID
Migrate some more code to ES6 (5).
This change converts all remaining test code to ES6. Testing done: Ran js-tests.
d31cce47e2b4dac3726758579e581e5e4c3be4c5
Migrate some more code to ES6 (5).
This change converts all remaining test code to ES6. Testing done: Ran js-tests.
e788f470b8d0d0f96805190a599adc1339a1fb10

Checks run (1 failed, 1 succeeded)

flake8 passed.
JSHint failed.

JSHint

chipx86
  1. 
      
  2. Show all issues

    Too many spaces.

  3. Show all issues

    function() {

  4. Show all issues

    function()

    It's better to let beforeEach(), it(), describe(), etc. be multi-line anyway so it's less of a change to add to them.

  5. 
      
david
Review request changed
Commits:
Summary ID
Migrate some more code to ES6 (5).
This change converts all remaining test code to ES6. Testing done: Ran js-tests.
e788f470b8d0d0f96805190a599adc1339a1fb10
Migrate some more code to ES6 (5).
This change converts all remaining test code to ES6. Testing done: Ran js-tests.
ac15ce7c2d9fa1b27011a3a269b8ecbf1977a5f7

Checks run (1 failed, 1 succeeded)

flake8 passed.
JSHint failed.

JSHint

david
chipx86
  1. Ship It!
  2. 
      
david
Review request changed
Status:
Completed
Change Summary:
Pushed to release-4.0.x (af8c91a)