Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(testutils): add test utility functions for creating and parsing …
…content data The `testutils` package now includes two utility functions. The `NewStoreContent` function creates a new `content.NewContentAttributes` object with predefined values for testing purposes. It takes in the name and namespace as parameters and returns the created object. The `ContentFromStore` function parses a JSON string representing content data and returns a `ContentJSON` object. This function is useful for testing scenarios where content data needs to be parsed and validated.
- Loading branch information