Skip to content

Commit

Permalink
test: add simple test
Browse files Browse the repository at this point in the history
  • Loading branch information
jamacku committed Aug 12, 2024
1 parent 3c1006f commit 48fb3ad
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions test/unit/util.test.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
import { describe, expect, test } from 'vitest';

import { raise } from '../../src/util';

describe('Utility functions', () => {
test('raise()', () => {
expect(() => raise('error')).toThrow('error');
});
});

0 comments on commit 48fb3ad

Please sign in to comment.