9 lines
272 B
TypeScript
9 lines
272 B
TypeScript
|
|
import { expect, tap } from '@git.zone/tstest/tapbundle';
|
||
|
|
import { normalizeFileStem } from '../ts/index.js';
|
||
|
|
|
||
|
|
tap.test('normalizes generated file names', async () => {
|
||
|
|
expect(normalizeFileStem('Plant Sitter!')).toEqual('plant-sitter');
|
||
|
|
});
|
||
|
|
|
||
|
|
export default tap.start();
|