<NME> test.js
<BEF> import test from 'ava';
import <%= camelModuleName %> from './index.js';

test('title', t => {
	t.throws(() => {
		<%= camelModuleName %>(123);
	}, {
		instanceOf: TypeError,
		message: 'Expected a string, got number'
	});

	t.is(<%= camelModuleName %>('unicorns'), 'unicorns & rainbows');
});

<MSG> Update the template

<DFF> @@ -6,7 +6,7 @@ test('title', t => {
 		<%= camelModuleName %>(123);
 	}, {
 		instanceOf: TypeError,
-		message: 'Expected a string, got number'
+		message: 'Expected a string, got number',
 	});
 
 	t.is(<%= camelModuleName %>('unicorns'), 'unicorns & rainbows');

Update the template