News for hackers. Stuff that matters.
Re:How JavaScript Works: deep dive into call, apply, and bind by dotancohen on Saturday July 10, 2021 @02:20AM (#27791521)
Of course private methods should be tested. These are unit tests, not functional/integration tests.
Re:How JavaScript Works: deep dive into call, apply, and bind by shawnz on Saturday July 10, 2021 @07:21AM (#27792631)
You don't unit test private methods, the "unit" is the exposed surface of the class.