Skip to content

test: cleanup IIFE tests

Rodrigo Muino Tomonari requested to merge github/fork/cjihrig/iife into master
Checklist
  • make -j4 test (UNIX), or vcbuild test nosign (Windows) passes
  • tests and/or benchmarks are included
  • commit message follows commit guidelines
Affected core subsystem(s)

test

Description of change

A number of test files use IIFEs to separate distinct tests from each other in the same file. The project has been moving toward using block scopes and let/const in favor of IIFEs. This commit moves IIFE tests to block scopes. Some additional cleanup of these tests such as the use of assert.strictEqual() and common.mustCall() is also included.

R= @nodejs/testing

Merge request reports

Loading