{"size": 468, "ext": "js", "max_stars_repo_path": "packages/plugin-remove-duplicates-from-union/test/remove-duplicaunion.js", "max_stars_repo_name": "em-/putout", "max_stars_repo_stars_event_min_datetime": "2019-01-21T21:21:09.000Z", "max_stars_repo_stars_event_max_datetime": "2022-03-28T13:06:47.000Z", "max_issues_repo_path": "packages/plugin-remove-duplicates-from-union/test/remove-duplicaunion.js", "max_issues_repo_name": "em-/putout", "max_issues_repo_issues_event_min_datetime": "2019-04-24T12:01:35.000Z", "max_issues_repo_issues_event_max_datetime": "2022-03-31T18:38:15.000Z", "max_forks_repo_path": "packages/plugin-remove-duplicates-from-union/test/remove-duplicaunion.js", "max_forks_repo_name": "em-/putout", "max_forks_repo_forks_event_min_datetime": "2019-02-19T14:25:40.000Z", "max_forks_repo_forks_event_max_datetime": "2022-02-12T22:20:53.000Z"}
{"max_stars_count": 260, "max_issues_count": 98, "max_forks_count": 31, "avg_line_length": 23.4, "max_line_length": 70, "alphanum_fraction": 0.6623931624}
'use strict';

const {createTest} = require('@putout/test');
const removeDuplicatesFromUnion = require('..');

const test = createTest(__dirname, {
    'remove-duplicates-from-union': removeDuplicatesFromUnion,
});

test('plugin-remove-duplicates-from-union: report', (t) => {
    t.report('union', 'Avoid using duplicates in Union');
    t.end();
});

test('plugin-remove-duplicates-from-union: transform: union', (t) => {
    t.transform('union');
    t.end();
});

