Tinytest.add('minifier-js - verify how terser handles an empty string', (test) => {
  let result = meteorJsMinify('');
  test.equal(result.code, '');
  test.equal(result.minifier, 'terser');
});

Tinytest.add('minifier-js - verify terser is able to minify valid javascript', (test) => {
  let result = meteorJsMinify('function add(first,second){return first + second; }\n');
  test.equal(result.code, 'function add(n,d){return n+d}');
  test.equal(result.minifier, 'terser');  
});

Tinytest.add('minifier-js - verify error handling is done as expected', (test) => {
  test.throws( () => meteorJsMinify('let name = {;\n'), undefined );    
});

Tinytest.add('minifier-js - verify tersers error object has the fields we use for reporting errors to users', (test) => {
  let result;
  try {
    result = meteorJsMinify('let name = {;\n');    
  }
  catch (err) {
    test.isNotUndefined(err.name);
    test.isNotUndefined(err.message);
    test.isNotUndefined(err.filename);
    test.isNotUndefined(err.line);
    test.isNotUndefined(err.col);
  }
});

// this feature has been reqested in this issue https://github.com/terser/terser/issues/632
// so when we bump up the terser version in the future and this test fails we will know when
// its been done and can remove this test :)
Tinytest.add('minifier-js - unsupported feature test (numeric seperators)', (test) => {
  test.throws(() => meteorJsMinify('let number = 1_000_000_000_000;\n')  );   
});
@@ -1047,405 +1047,4 @@
 %7D);%0A
-%0A// this feature has been reqested in this issue https://github.com/terser/terser/issues/632%0A// so when we bump up the terser version in the future and this test fails we will know when%0A// its been done and can remove this test :)%0ATinytest.add('minifier-js - unsupported feature test (numeric seperators)', (test) =%3E %7B%0A  test.throws(() =%3E meteorJsMinify('let number = 1_000_000_000_000;%5Cn')  );   %0A%7D);

Remove numeric separator test as planned