mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-02-25 18:55:32 -06:00
Cleanup tests imports
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
/* eslint-disable @typescript-eslint/no-unused-expressions,@typescript-eslint/require-await */
|
||||
|
||||
import * as chai from 'chai'
|
||||
import { expect } from 'chai'
|
||||
import { HttpStatusCode, VideoDetails, VideoImportState, VideoPlaylist, VideoPlaylistPrivacy, VideoPrivacy } from '@shared/models'
|
||||
import {
|
||||
cleanupTests,
|
||||
@@ -15,8 +15,6 @@ import {
|
||||
} from '@shared/server-commands'
|
||||
import { FIXTURE_URLS } from '../shared'
|
||||
|
||||
const expect = chai.expect
|
||||
|
||||
describe('Test plugin filter hooks', function () {
|
||||
let servers: PeerTubeServer[]
|
||||
let videoUUID: string
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
/* eslint-disable @typescript-eslint/no-unused-expressions,@typescript-eslint/require-await */
|
||||
|
||||
import * as chai from 'chai'
|
||||
import { expect } from 'chai'
|
||||
import {
|
||||
cleanupTests,
|
||||
createSingleServer,
|
||||
@@ -10,8 +10,6 @@ import {
|
||||
setAccessTokensToServers
|
||||
} from '@shared/server-commands'
|
||||
|
||||
const expect = chai.expect
|
||||
|
||||
describe('Test plugins HTML injection', function () {
|
||||
let server: PeerTubeServer = null
|
||||
let command: PluginsCommand
|
||||
|
||||
@@ -1,10 +1,8 @@
|
||||
/* eslint-disable @typescript-eslint/no-unused-expressions,@typescript-eslint/require-await */
|
||||
|
||||
import * as chai from 'chai'
|
||||
import { expect } from 'chai'
|
||||
import { cleanupTests, createSingleServer, PeerTubeServer, PluginsCommand, setAccessTokensToServers } from '@shared/server-commands'
|
||||
|
||||
const expect = chai.expect
|
||||
|
||||
describe('Test plugin translations', function () {
|
||||
let server: PeerTubeServer
|
||||
let command: PluginsCommand
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
/* eslint-disable @typescript-eslint/no-unused-expressions,@typescript-eslint/require-await */
|
||||
|
||||
import * as chai from 'chai'
|
||||
import { expect } from 'chai'
|
||||
import {
|
||||
cleanupTests,
|
||||
createSingleServer,
|
||||
@@ -11,8 +11,6 @@ import {
|
||||
} from '@shared/server-commands'
|
||||
import { HttpStatusCode, VideoPlaylistPrivacy } from '@shared/models'
|
||||
|
||||
const expect = chai.expect
|
||||
|
||||
describe('Test plugin altering video constants', function () {
|
||||
let server: PeerTubeServer
|
||||
|
||||
|
||||
Reference in New Issue
Block a user