CLI for Oblique Strategies.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 lines
334 B

  1. import { describe, expect, it } from 'vitest';
  2. import { read, prefix } from '../text';
  3. describe('text', () => {
  4. it('resolves to a string array', async () => {
  5. const cards = await read('hello|hi|foo');
  6. expect(cards).toHaveLength(3);
  7. });
  8. it('exports a prefix', () => {
  9. expect(prefix).toBeTypeOf('string');
  10. });
  11. });