make top-content component and frame-content component

This commit is contained in:
Shin'ya Ueoka 2017-10-15 09:02:09 +09:00
parent 042aa94936
commit 4c9d0433a6
13 changed files with 102 additions and 76 deletions

View file

@ -1,10 +1,10 @@
import { expect } from "chai";
import FollowComponent from 'content/components/follow';
import FollowComponent from 'content/components/common/follow';
describe('FollowComponent', () => {
describe('#getTargetElements', () => {
beforeEach(() => {
document.body.innerHTML = __html__['test/content/components/follow.html'];
document.body.innerHTML = __html__['test/content/components/common/follow.html'];
});
it('returns visible links', () => {

View file

@ -1,9 +1,9 @@
import { expect } from "chai";
import Hint from 'content/components/hint';
import Hint from 'content/components/common/hint';
describe('Hint class', () => {
beforeEach(() => {
document.body.innerHTML = __html__['test/content/components/hint.html'];
document.body.innerHTML = __html__['test/content/components/common/hint.html'];
});
describe('#constructor', () => {