test(cli): add tests for invalid values

This commit is contained in:
Johann Schopplich
2025-11-04 10:17:20 +01:00
parent af298537a4
commit cdb90585fa
2 changed files with 140 additions and 92 deletions

View File

@@ -5,8 +5,8 @@ import * as path from 'node:path'
import process from 'node:process'
import { defineCommand } from 'citty'
import { consola } from 'consola'
import { name, version } from '../../toon/package.json' with { type: 'json' }
import { DEFAULT_DELIMITER, DELIMITERS } from '../../toon/src'
import { name, version } from '../package.json' with { type: 'json' }
import { decodeToJson, encodeToToon } from './conversion'
import { detectMode } from './utils'