Skip to content

Add unit tests for 7 components#178

Open
aparnatonni wants to merge 1 commit into
c2siorg:mainfrom
aparnatonni:add-unit-tests
Open

Add unit tests for 7 components#178
aparnatonni wants to merge 1 commit into
c2siorg:mainfrom
aparnatonni:add-unit-tests

Conversation

@aparnatonni

Copy link
Copy Markdown

Adds unit tests for 7 components that didn't have test coverage:

  • TerminalComp, Threads, MemoryMap, LocalVariable, MainScreen, Context, BreakPoints

- TerminalComp.test.jsx: 3 tests (render, terminal class, integration)
- Threads.test.jsx: 5 tests (render, func/file text, class structure)
- MemoryMap.test.jsx: 4 tests (render, dummy data display, structure)
- LocalVariable.test.jsx: 5 tests (render, variables content, structure)
- MainScreen.test.jsx: 4 tests (render, editor integration, CSS class)
- Context.test.jsx: 5 tests (render, memory mapping, address data)
- BreakPoints.test.jsx: 5 tests (render, dummy data, file paths)

Total: 31 unit tests covering all 7 components
Improves test coverage for components without existing tests.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant