no longer able to run a test of the dist file for the critical js list as not be able to stub refresh allows the page to be reloaded while running the tests