Skip to content

Commit 3882b7b

Browse files
committed
fix: move playwright requires after webpack to fix eslint warning
1 parent b508045 commit 3882b7b

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

test/e2e-playwright/stats-refactored.test.js

+5-6
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
"use strict";
22

33
const webpack = require("webpack");
4+
const { test } = require("@playwright/test");
5+
const { describe } = require("@playwright/test");
6+
const { expect } = require("@playwright/test");
47
const Server = require("../../lib/Server");
58
const config = require("../fixtures/client-config/webpack.config");
69
const HTMLGeneratorPlugin = require("../helpers/html-generator-plugin");
710
const port = require("../ports-map").stats;
8-
const { test } = require("@playwright/test");
9-
const { describe } = require("@playwright/test");
10-
const { expect } = require("@playwright/test");
1111

1212
describe("stats", () => {
1313
const cases = [
@@ -137,7 +137,6 @@ describe("stats", () => {
137137
} finally {
138138
await server.stop();
139139
}
140-
})
141-
})
142-
140+
});
141+
});
143142
});

0 commit comments

Comments
 (0)