From 768b047e89f419deca3ddd00af7cb75209de97b6 Mon Sep 17 00:00:00 2001 From: Patryk Niedźwiedziński Date: Fri, 30 Aug 2019 10:08:13 +0200 Subject: Move to nuxtjs --- components/NavBar.vue | 203 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 203 insertions(+) create mode 100644 components/NavBar.vue (limited to 'components/NavBar.vue') diff --git a/components/NavBar.vue b/components/NavBar.vue new file mode 100644 index 0000000..e9fa1f0 --- /dev/null +++ b/components/NavBar.vue @@ -0,0 +1,203 @@ + + + + + \ No newline at end of file -- cgit 1.4.1 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 (limited to 'components/NavBar.vue') 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 @@