Stealing the website's viewer (#15)
* Stealing the website's viewer * Cleaned up, diff colors * fix test * Clean up unused logic * Clean up
This commit is contained in:
10
src/components/diff/CadDiff.test.tsx
Normal file
10
src/components/diff/CadDiff.test.tsx
Normal file
@ -0,0 +1,10 @@
|
||||
import { render } from '@testing-library/react'
|
||||
import { CadDiff } from './CadDiff'
|
||||
|
||||
it('renders the CAD diff element', () => {
|
||||
render(<CadDiff />)
|
||||
|
||||
// TODO: find a way to add proper tests for ModelView,
|
||||
// seems non-trivial with the simulated DOM
|
||||
// Probably will have to go for end-to-end
|
||||
})
|
Reference in New Issue
Block a user