I get the error:
ERROR: 'DEPRECATION: fit and fdescribe will cause your suite to report an 'incomplete' status in Jasmine 3.0'
I did a RTFM for Jasmine 3.0 but it did not mention anything about deprecation: https://jasmine.github.io/api/3.0/global.html#fit
fit will focus on a test or a set of them. so if you have 5 tests, 3 it and 2 fit , only the 2 with fit will run by Jasmine. ERROR: 'DEPRECATION: fit and fdescribe will cause your suite to report an 'incomplete' status in Jasmine 3.0'
Jasmine is a behavior development testing framework. Unit tests are written using Jasmine and are run to see if individual parts of an application are working correctly. As a result, unit tests will either pass or fail depending on if the code is working correctly or has a bug.
As per your link to fit docs
fit
will focus on a test or a set of them.
so if you have 5 tests, 3it
and 2fit
, only the 2 with fit will run by Jasmine.
ERROR: 'DEPRECATION: fit and fdescribe will cause your suite to report an 'incomplete' status in Jasmine 3.0'
ERROR --> WARNING:
Is telling you that only fit'S will run, therefore an incomplete test.
Thanks.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With