Most developers struggle to determine whether one needs a test for the newly introduced code.
The answer is on the surface: if it makes it easier to write robust code, the test is likely needed. Don’t waste your time otherwise.
Your language of choice and the framework you leverage to build your project do not require you to test them.