Skip to content
Permalink
Browse files
test(e2e): improve HooksRunner.spec (#825)
* test(HooksRunner): properly setup temp dir

* test(HooksRunner): faster & simpler project setup

This is possible since we don't need an installed platform anymore
since we have dropped Test#012. We also needed to stop using
`util.preProcessOptions` because that expects platforms too. However,
its usage was irrelevant for the tests anyway.

* test(HooksRunner): remove unused hooks

* test(HooksRunner): reduce number of fixture files

* test(HooksRunner): make hook fixtures executable

* test(HooksRunner): cleanup & clarify "nohooks" tests

This also groups all "nohooks" tests in one describe block.

* test(HooksRunner): move tests to suitable block

* test(HooksRunner): only pass options where needed

* test(HooksRunner): cleanup "event handler" tests

- proper common test setup
- improve test descriptions
- test what the descriptions say
- replace the two last tests with a useful one
  • Loading branch information
raphinesse committed Jan 12, 2020
1 parent f53dd4a commit 214dca16813bb5c9224750b10ec1d9e4979c5256
Showing 31 changed files with 117 additions and 510 deletions.

Large diffs are not rendered by default.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Empty file.
Empty file.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Deleted file not rendered

This file was deleted.

This file was deleted.

This file was deleted.

File renamed without changes.
File renamed without changes.
@@ -1,3 +1,3 @@
module.exports = () => {
throw new Error();
};
};
File renamed without changes.

0 comments on commit 214dca1

Please sign in to comment.