mirror of
https://github.com/penpot/penpot.git
synced 2025-07-30 11:38:35 +02:00
✨ Add initial vitest test file template
This commit is contained in:
parent
9c969f8b26
commit
127b02922f
4 changed files with 3499 additions and 55 deletions
|
@ -0,0 +1,10 @@
|
|||
import { expect, test } from 'vitest'
|
||||
|
||||
test('use jsdom in this test file', () => {
|
||||
const element = document.createElement('div')
|
||||
expect(element).not.toBeNull()
|
||||
})
|
||||
|
||||
test('adds 1 + 2 to equal 3', () => {
|
||||
expect(1 +2).toBe(3)
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue