text: 'use strict';
  
  const {createTest} = require('@putout/test');
  const remove = require('.');
  
  const reuseDuplicateInit = require('@putout/plugin-reuse-duplicate-init');
  const test = createTest(__dirname, {
      'remove-useless-variables/remove': remove,
  });
  
  test('remove usless variables: remove: report', (t) => {
      t.report('require', 'Useless variable declaration with name "child_process"');
      t.end();
  });
  
  test('remove usless variables: remove: transform', (t) => {
      t.transform('require');
      t.end();
  });
  
  test('remove usless variables: remove: no transform: react', (t) => {
      t.noTransform('react');
      t.end();
  });
  
  test('plugin-reuse-duplicate-init: transform: with-remove-useless', (t) => {
      t.transform('with-reuse', {
          'reuse-duplicate-init': reuseDuplicateInit,
      });
      t.end();
  });
  
  