Skip to content

Commit

Permalink
fix: Run lint:fix
Browse files Browse the repository at this point in the history
Signed-off-by: Marcel Klehr <[email protected]>
  • Loading branch information
marcelklehr committed Oct 1, 2024
1 parent cb2ddb1 commit e08bf4c
Showing 1 changed file with 0 additions and 53 deletions.
53 changes: 0 additions & 53 deletions src/test/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -284,8 +284,6 @@ describe('Floccus', function() {
await account.delete()
})
it('should create local bookmarks on the server', async function() {


const localRoot = account.getData().localRoot
const fooFolder = await browser.bookmarks.create({
title: 'foo',
Expand Down Expand Up @@ -326,8 +324,6 @@ describe('Floccus', function() {
)
})
it('should create empty local folders on the server', async function() {


const localRoot = account.getData().localRoot
const fooFolder = await browser.bookmarks.create({
title: 'foo',
Expand Down Expand Up @@ -438,7 +434,6 @@ describe('Floccus', function() {
if (ACCOUNT_DATA.noCache) {
return this.skip()
}


const localRoot = account.getData().localRoot
const fooFolder = await browser.bookmarks.create({
Expand Down Expand Up @@ -491,7 +486,6 @@ describe('Floccus', function() {
if (ACCOUNT_DATA.noCache) {
return this.skip()
}


const localRoot = account.getData().localRoot
const fooFolder = await browser.bookmarks.create({
Expand Down Expand Up @@ -553,7 +547,6 @@ describe('Floccus', function() {
if (ACCOUNT_DATA.noCache) {
return this.skip()
}


const localRoot = account.getData().localRoot
const fooFolder = await browser.bookmarks.create({
Expand Down Expand Up @@ -597,8 +590,6 @@ describe('Floccus', function() {
)
})
it('should update the server on local folder moves', async function() {


const localRoot = account.getData().localRoot
const fooFolder = await browser.bookmarks.create({
title: 'foo',
Expand Down Expand Up @@ -840,8 +831,6 @@ describe('Floccus', function() {
)
})
it('should not delete additions while sync is running', async function() {


const localRoot = account.getData().localRoot
const fooFolder = await browser.bookmarks.create({
title: 'foo',
Expand Down Expand Up @@ -897,8 +886,6 @@ describe('Floccus', function() {
)
})
it('should be able to handle duplicates', async function() {


const localRoot = account.getData().localRoot
const bookmarkData = {
title: 'url',
Expand Down Expand Up @@ -949,7 +936,6 @@ describe('Floccus', function() {
})
it('should deduplicate unnormalized URLs', async function() {
const adapter = account.server


// create bookmark on server
const serverTree = await getAllBookmarks(account)
Expand Down Expand Up @@ -1027,7 +1013,6 @@ describe('Floccus', function() {
if (ACCOUNT_DATA.type === 'nextcloud-bookmarks' && (APP_VERSION !== 'stable' && APP_VERSION !== 'master' && APP_VERSION !== 'stable3')) {
this.skip()
}


// create bookmark locally
const localRoot = account.getData().localRoot
Expand Down Expand Up @@ -1088,7 +1073,6 @@ describe('Floccus', function() {
if (ACCOUNT_DATA.noCache) {
return this.skip()
}


const localRoot = account.getData().localRoot
const fooFolder = await browser.bookmarks.create({
Expand Down Expand Up @@ -1149,7 +1133,6 @@ describe('Floccus', function() {
if (ACCOUNT_DATA.noCache) {
return this.skip()
}


const localRoot = account.getData().localRoot
const fooFolder = await browser.bookmarks.create({
Expand Down Expand Up @@ -1217,8 +1200,6 @@ describe('Floccus', function() {
)
})
it('should handle strange characters well', async function() {


const localRoot = account.getData().localRoot
const fooFolder = await browser.bookmarks.create({
title: 'foo!"§$%&/()=?"',
Expand Down Expand Up @@ -1268,7 +1249,6 @@ describe('Floccus', function() {
if (ACCOUNT_DATA.noCache) {
return this.skip()
}


const localRoot = account.getData().localRoot
const fooFolder = await browser.bookmarks.create({
Expand Down Expand Up @@ -1307,7 +1287,6 @@ describe('Floccus', function() {
return this.skip()
}
const adapter = account.server


const localRoot = account.getData().localRoot
const fooFolder = await browser.bookmarks.create({
Expand Down Expand Up @@ -1385,8 +1364,6 @@ describe('Floccus', function() {
}
const localRoot = account.getData().localRoot



const barFolder = await browser.bookmarks.create({
title: 'bar',
parentId: localRoot
Expand Down Expand Up @@ -1442,8 +1419,6 @@ describe('Floccus', function() {
it('should move items successfully even into new folders', async function() {
const localRoot = account.getData().localRoot



const barFolder = await browser.bookmarks.create({
title: 'bar',
parentId: localRoot
Expand Down Expand Up @@ -1526,8 +1501,6 @@ describe('Floccus', function() {
it('should move items successfully when mixing creation and moving (1)', async function() {
const localRoot = account.getData().localRoot



const barFolder = await browser.bookmarks.create({
title: 'bar',
parentId: localRoot
Expand Down Expand Up @@ -1633,8 +1606,6 @@ describe('Floccus', function() {
it('should move items successfully when mixing creation and moving (2)', async function() {
const localRoot = account.getData().localRoot



const aFolder = await browser.bookmarks.create({
title: 'a',
parentId: localRoot
Expand Down Expand Up @@ -1769,8 +1740,6 @@ describe('Floccus', function() {
}
const localRoot = account.getData().localRoot



const aFolder = await browser.bookmarks.create({
title: 'a',
parentId: localRoot
Expand Down Expand Up @@ -1845,7 +1814,6 @@ describe('Floccus', function() {
const localRoot = account.getData().localRoot

const adapter = account.server


const aFolder = await browser.bookmarks.create({
title: 'a',
Expand Down Expand Up @@ -1961,8 +1929,6 @@ describe('Floccus', function() {
this.skip()
}



const localRoot = account.getData().localRoot
const fooFolder = await browser.bookmarks.create({
title: 'foo',
Expand Down Expand Up @@ -2013,8 +1979,6 @@ describe('Floccus', function() {
}
const localRoot = account.getData().localRoot



const barFolder = await browser.bookmarks.create({
title: 'bar',
parentId: localRoot
Expand Down Expand Up @@ -2102,8 +2066,6 @@ describe('Floccus', function() {
}
const localRoot = account.getData().localRoot



const barFolder = await browser.bookmarks.create({
title: 'bar',
parentId: localRoot
Expand Down Expand Up @@ -2234,8 +2196,6 @@ describe('Floccus', function() {
}
const localRoot = account.getData().localRoot



const barFolder = await browser.bookmarks.create({
title: 'bar',
parentId: localRoot
Expand Down Expand Up @@ -2336,8 +2296,6 @@ describe('Floccus', function() {
await account.setData({...account.getData(), localRoot: root.id})
account = await Account.get(account.id)



const barFolder = await browser.bookmarks.create({
title: 'bar',
parentId: root.children[0].id
Expand Down Expand Up @@ -2383,8 +2341,6 @@ describe('Floccus', function() {
account = await Account.get(account.id)
const adapter = account.server



let bookmark
let serverTree = await getAllBookmarks(account)
await withSyncConnection(account, async() => {
Expand Down Expand Up @@ -2444,7 +2400,6 @@ describe('Floccus', function() {
if (ACCOUNT_DATA.type === 'linkwarden') {
return this.skip()
}


const localRoot = account.getData().localRoot
const fooFolder = await browser.bookmarks.create({
Expand Down Expand Up @@ -4795,8 +4750,6 @@ describe('Floccus', function() {
await account.delete()
})
it('should create local tabs on the server', async function() {


browser.tabs.create({
index: 1,
url: 'https://floccus.org/#test1'
Expand Down Expand Up @@ -4829,8 +4782,6 @@ describe('Floccus', function() {
)
})
it('should create server bookmarks as tabs', async function() {


const adapter = account.server
const serverTree = await getAllBookmarks(account)
let windowFolderId, serverMark
Expand Down Expand Up @@ -4873,8 +4824,6 @@ describe('Floccus', function() {
)
})
it('should update the server when pushing local changes', async function() {


await account.setData({...account.getData(), strategy: 'overwrite'})

browser.tabs.create({
Expand Down Expand Up @@ -4933,8 +4882,6 @@ describe('Floccus', function() {
)
})
it('should update local tabs when pulling server changes', async function() {


const adapter = account.server
const serverTree = await getAllBookmarks(account)
let windowFolderId, serverMark, serverMarkId
Expand Down

0 comments on commit e08bf4c

Please sign in to comment.