🏡 index : quine-global/ava.git

import {test} from 'tap';

import improperUsageMessages from '../../lib/reporters/improper-usage-messages.js';

test('results when nothing is applicable', t => {
	const error = {
		improperUsage: {
			assertion: 'assertion',
			name: 'VersionMismatchError',
			snapPath: 'path',
			snapVersion: 2,
			expectedVersion: 1,
		},
	};

	const actualOutput = improperUsageMessages(error);

	t.equal(actualOutput, null);
	t.end();
});