Skip to content

Make tests for project state-related higher order components #3347

@benjiwheeler

Description

@benjiwheeler

project-fetcher-hoc:

  • Check that it calls onFetchedProjectData with projectData

vm-manager-hoc:

  • Mock vm’s load project function, test that it’s called
  • test that it then calls project-state reducer's onLoadedProject()
  • If it’s called with no data, doesn’t render anything/renders null
  • Test that vm is initialized (use a mock for vm)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions