After updating to Version 2.0.2 I get this kind of error when executing my tests:
Class extends value #<Object> is not a constructor or null
After a lot of debugging i came to the conclusion, that
const Helper = require('@codeceptjs/helper') does not work anymore, but i have to change it to
const Helper = require('@codeceptjs/helper').default
For me no problem, but in my opinion it should not be an version patch update, but more a major update because it breaks things.
Also the documentation should be updated.
After updating to Version 2.0.2 I get this kind of error when executing my tests:
Class extends value #<Object> is not a constructor or null
After a lot of debugging i came to the conclusion, that
const Helper = require('@codeceptjs/helper')
does not work anymore, but i have to change it toconst Helper = require('@codeceptjs/helper').default
For me no problem, but in my opinion it should not be an version patch update, but more a major update because it breaks things. Also the documentation should be updated.