MelroyNoronha / radioPool

Bringing value to music lovers.
0 stars 0 forks source link

Fix tests / testing feasibility #10

Open MelroyNoronha opened 1 year ago

MelroyNoronha commented 1 year ago

Adding redux-persist to the setup broke tests.

image

We tried: 1) Adding a redux-persist mock under the __mocks__ dir. 2) Adding redux-persist to transformIgnorePatterns. 3) Integrating redux-persist in the custom render method for tests.

MelroyNoronha commented 1 year ago

Tests don't work on the prototype. For the actual app we'll commit to at least having snapshot tests maybe?

MelroyNoronha commented 1 year ago

Give the test setup another decent go and then we'll bail on it if it takes too long and come back to it later. Let's not stall development for tests. At least on the first iteration of the app.