How do I test private class methods with Jest?

2.3k Views Asked by At

I have a class with private methods:

class MyClass {
  #myMethod () {}
}

Is it possible to test it with Jest?

0

There are 0 best solutions below