Skip to content

Commit

Permalink
get vitest working
Browse files Browse the repository at this point in the history
  • Loading branch information
timelyportfolio committed Jan 21, 2024
1 parent 17c868e commit d9f6887
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion js-tests/react-tools.test.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import React from 'react'
import ReactDOM from 'react'
import { renderToString } from 'react-dom/server'
import { parseXml } from '@rgrove/parse-xml'
import { parse } from 'html-react-parser'
import parse from 'html-react-parser'
import { hydrate } from '../srcjs/react-tools'

/**
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
"private": true,
"type": "module",
"scripts": {
"build": "vite build"
"build": "vite build",
"test": "vitest run"
},
"devDependencies": {
"@vitejs/plugin-react": "^4.2.1",
Expand Down

0 comments on commit d9f6887

Please sign in to comment.