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:
Pierre Jacquier
2023-03-08 05:45:25 -05:00
committed by GitHub
parent 40815479bf
commit f8b891cb47
17 changed files with 1974 additions and 740 deletions

View 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
})