1
1
import pane from "../" ;
2
2
import { parse } from "rdflib" ;
3
3
import { store } from "solid-ui" ;
4
- import { findByTestId , getByTestId } from "@testing-library/dom" ;
4
+ import { findByTestId } from "@testing-library/dom" ;
5
5
import { context , doc , subject } from "./setup" ;
6
6
import fetchMock from "jest-fetch-mock" ;
7
7
@@ -11,7 +11,7 @@ describe("profile-pane", () => {
11
11
describe ( "with friends" , ( ) => {
12
12
beforeAll ( async ( ) => {
13
13
store . removeDocument ( doc ) ;
14
- let turtle = `
14
+ const turtle = `
15
15
@prefix : <#>.
16
16
@prefix foaf: <http://xmlns.com/foaf/0.1/> .
17
17
@prefix vcard: <http://www.w3.org/2006/vcard/ns#> .
@@ -27,7 +27,6 @@ describe("profile-pane", () => {
27
27
friends = await findByTestId ( result , "friend-list" ) ;
28
28
} ) ;
29
29
30
- beforeAll ( ( ) => { } ) ;
31
30
it ( "renders the friend list" , ( ) => {
32
31
expect ( friends ) . toContainHTML ( "Friends" ) ;
33
32
} ) ;
@@ -54,7 +53,7 @@ describe("profile-pane", () => {
54
53
describe ( "with more friends in separate document" , ( ) => {
55
54
beforeAll ( async ( ) => {
56
55
store . removeDocument ( doc ) ;
57
- let turtle = `
56
+ const turtle = `
58
57
@prefix : <#>.
59
58
@prefix foaf: <http://xmlns.com/foaf/0.1/> .
60
59
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@@ -91,7 +90,6 @@ describe("profile-pane", () => {
91
90
friends = await findByTestId ( result , "friend-list" ) ;
92
91
} ) ;
93
92
94
- beforeAll ( ( ) => { } ) ;
95
93
it ( "renders the friend list" , ( ) => {
96
94
expect ( friends ) . toContainHTML ( "Friends" ) ;
97
95
} ) ;
0 commit comments