From 39fb5400370b818760dc7bcfe42e74b2512a840d Mon Sep 17 00:00:00 2001 From: Shin'ya Ueoka Date: Sun, 8 Oct 2017 15:04:55 +0900 Subject: separate content --- test/components/follow.html | 9 --------- test/components/follow.test.js | 15 --------------- 2 files changed, 24 deletions(-) delete mode 100644 test/components/follow.html delete mode 100644 test/components/follow.test.js (limited to 'test/components') diff --git a/test/components/follow.html b/test/components/follow.html deleted file mode 100644 index 6bd8f87..0000000 --- a/test/components/follow.html +++ /dev/null @@ -1,9 +0,0 @@ - - - - link - invisible 1 - invisible 2 - not link - - diff --git a/test/components/follow.test.js b/test/components/follow.test.js deleted file mode 100644 index 294bfc9..0000000 --- a/test/components/follow.test.js +++ /dev/null @@ -1,15 +0,0 @@ -import { expect } from "chai"; -import FollowComponent from 'components/follow'; - -describe('FollowComponent', () => { - describe('#getTargetElements', () => { - beforeEach(() => { - document.body.innerHTML = __html__['test/components/follow.html']; - }); - - it('returns visible links', () => { - let links = FollowComponent.getTargetElements(window.document); - expect(links).to.have.lengthOf(1); - }); - }); -}); -- cgit v1.2.3