Added vitest and broke up components

This commit is contained in:
Mike Conrad
2023-08-25 21:43:38 -04:00
parent 01a9bc6cb4
commit 84502ca5d4
11 changed files with 712 additions and 53 deletions

9
src/tokenList.test.ts Normal file
View File

@ -0,0 +1,9 @@
// @vitest-environment jsdom
import { expect, test } from 'vitest'
import { tokenList } from './tokenList'
const tokenListElement = tokenList();
test('displays an empty list', () => {
expect(tokenListElement).toBeDefined()
})