const { test } = require('node:test')
const assert = require('node:assert/strict')
const addCommand = require('./library-add')

test('library add exports an async command function', () => {
  assert.equal(typeof addCommand, 'function')
  assert.equal(addCommand.constructor.name, 'AsyncFunction')
})
