I have hundreds of Polymer test kits. At the end of each test, I would like to perform some quality checks. Is there a way to do this globally for all of my test suites?
After going through some source code, I found a solution. There is an extraScripts config option that can be passed to the web component tester. Specify your global afterEach in a separate JS file and include it here.
extraScripts
afterEach
// Additional .js files to include in *generated* test indexes.