this repo has no description
at main 15 lines 453 B view raw
1import assert from 'node:assert/strict' 2import { test } from 'node:test' 3import type { InstallOptions } from '../src/index.js' 4 5test('InstallOptions should have optional properties', () => { 6 const options: InstallOptions = {} 7 assert.equal(typeof options, 'object') 8 9 const optionsWithValues: InstallOptions = { 10 binName: 'test-bin', 11 outputDir: './test-output', 12 verbose: true, 13 } 14 assert.equal(optionsWithValues.binName, 'test-bin') 15})