Skip to content

Commit

Permalink
Fixed test.
Browse files Browse the repository at this point in the history
  • Loading branch information
SamTV12345 committed Sep 5, 2024
1 parent e1ed2bb commit 69b0f73
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
'use strict';

const common = require('ep_etherpad-lite/tests/backend/common');
const randomString = require('ep_etherpad-lite/static/js/pad_utils').randomString;
import {generateJWTToken, generateJWTTokenUser} from "ep_etherpad-lite/tests/backend/common";
import {init} from "ep_etherpad-lite/tests/backend/common";
import {randomString} from "ep_etherpad-lite/static/js/pad_utils"
import {generateJWTToken} from "ep_etherpad-lite/tests/backend/common";

let agent;
const apiVersion = 1;
Expand Down Expand Up @@ -58,7 +58,7 @@ describe('ep_font_size - export size styles to HTML', function () {
let padID;
let html;

before(async function () { agent = await common.init(); });
before(async function () { agent = await init(); });

// create a new pad before each test run
beforeEach(function (done) {
Expand Down

0 comments on commit 69b0f73

Please sign in to comment.