Platform (jvm, js, android):
Extension (none, kotlin 1.3, jdk8): none
Currently we filter only stackframes of mocha, we could enhance it with stackframes of jasmine
Following the things you need to do:
lib
mocha, add jasmine in additionI'll work on this if you would like to take this issue over.Send me more information and I will work on this
@sabankay1120 what information do you need in addition?
I'll work on this
@z13z great that you are that motivated :slightly_smiling_face: Please don't work on more issues in parallel, let's try to get the once you are assigned to into master first.
I can't find mocha in README.md (inside notToThrow). Was it deleted?
you find mocha around line 496
Stack frames of Atrium and of test runners (Spek, Kotlintest and JUnit for JVM, mocha for JS) are excluded per default
Errors in AdjustStackTest doesn't contain string "jasmine", even after changing regex in RemoveRunnerAtriumErrorAdjuster.kt to (\s|\S)+. how can I produce exception with correct stack trace in given test class to add new test cases
Oh well, seems like I have not thought that through when I wrote the description. You cannot in AdjustStackTraceSpec as we are using mocha as runner and not jasmine. However, you can add your test case to /samples/js/jasmine/src/test/kotlin/org/atriumlib/samples/jasmine/SampleJsTest.kt.