mirror of
https://github.com/thelounge/thelounge.git
synced 2024-05-02 06:33:19 +02:00
Fix test for production build
Webpack 5 minifies it now
This commit is contained in:
parent
41831d18b1
commit
c2e8eaf9df
|
@ -66,7 +66,7 @@ describe("public folder", function () {
|
|||
fs.readFile(path.join(publicFolder, "service-worker.js"), "utf8", function (err, contents) {
|
||||
expect(err).to.be.null;
|
||||
|
||||
expect(contents.includes("const cacheName =")).to.be.true;
|
||||
expect(contents.includes("const cacheName")).to.be.true;
|
||||
expect(contents.includes("__HASH__")).to.be.false;
|
||||
|
||||
done();
|
||||
|
|
Loading…
Reference in a new issue