make top-content component and frame-content component
This commit is contained in:
parent
042aa94936
commit
4c9d0433a6
13 changed files with 102 additions and 76 deletions
|
@ -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', () => {
|
|
@ -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', () => {
|
Reference in a new issue