From ad2ceb6df979cff60e05b088a17ee29dfb95a9ff Mon Sep 17 00:00:00 2001 From: Derick Montague Date: Fri, 24 Apr 2020 18:11:04 -0500 Subject: Use Jest as the test framework - Remove mocha, chai, sinon and setup.js - Add snapshot test to ApplicationHeader spec and remove skip nav link test - Add an update snapshot test that can be run if a page changes and the snapshot needs to be updated - Remove tight coupling of application structure and test in ApplicationHeader spec We are changing to Jest for a few reasons: 1. Jest is the testing framework used by most Vue applications and has robust documentation 2. It requires less configuration and works out of the box 3. It includes the ability to perform snapshot testing of rendered UI, which is much easier to maintain than trying to test specific UI elements. Signed-off-by: Derick Montague Change-Id: I7bca3613991ebae1fd464fa3a60f079d044ed7b4 --- src/components/AppNavigation/AppNavigation.vue | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/components/AppNavigation/AppNavigation.vue b/src/components/AppNavigation/AppNavigation.vue index 7a8389fb..ef88adb4 100644 --- a/src/components/AppNavigation/AppNavigation.vue +++ b/src/components/AppNavigation/AppNavigation.vue @@ -92,6 +92,7 @@ -- cgit v1.2.3