From 51b96f0c0bc9e00477e24d1d799dba0e3a519f24 Mon Sep 17 00:00:00 2001 From: Patryk Niedźwiedziński Date: Fri, 30 Aug 2019 22:31:54 +0200 Subject: Add NavBar test --- components/NavBar.vue | 26 ++++++++++----------- test/NavBar.test.js | 27 ++++++++++++++++++++++ test/NavLink.test.js | 12 ++++++++-- test/__snapshots__/NavBar.test.js.snap | 40 +++++++++++++++++++++++++++++++++ test/__snapshots__/NavLink.test.js.snap | 14 ++++++++++++ 5 files changed, 104 insertions(+), 15 deletions(-) create mode 100644 test/NavBar.test.js create mode 100644 test/__snapshots__/NavBar.test.js.snap create mode 100644 test/__snapshots__/NavLink.test.js.snap diff --git a/components/NavBar.vue b/components/NavBar.vue index e9fa1f0..e564fb0 100644 --- a/components/NavBar.vue +++ b/components/NavBar.vue @@ -2,7 +2,7 @@