Skip to content

Commit 1c73e52

Browse files
committed
Isolate the scripting integration tests
To avoid being able to introduce dependencies between tests, and to bring existing dependencies to the surface, this commit makes sure that we close the document between tests so that we can't accidentally rely on state set by a previous test. This prevents multiple tests from failing if one of them fails and makes debugging easier by being able to run each test on their own independent of other tests. This commit, combined with the previous ones, is enough to make the scripting integration test suite pass consistently if random mode in Jasmine is enabled, proving that the tests are fully isolated now.
1 parent 0f3692a commit 1c73e52

File tree

1 file changed

+94
-93
lines changed

1 file changed

+94
-93
lines changed

0 commit comments

Comments
 (0)