Skip to content

Commit

Permalink
test: debug
Browse files Browse the repository at this point in the history
  • Loading branch information
alexander-akait committed Jan 9, 2024
1 parent d05f4ee commit b20810a
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions test/TestCache.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
*/

import path from "path";
import fs from "fs";

import webpack from "webpack";
import del from "del";
Expand Down Expand Up @@ -266,15 +267,16 @@ describe("TestCache", () => {
});
});

console.log(fs.readdirSync(fileSystemCacheDirectory));
console.log(fs.readdirSync(outputPath));

const compiler2 = webpack({
...webpackConfig,
mode: "development",
context: directoryForCase,
cache: {
type: "filesystem",
cacheDirectory: fileSystemCacheDirectory,
idleTimeout: 0,
idleTimeoutForInitialStore: 0,
},
output: {
path: outputPath,
Expand Down

0 comments on commit b20810a

Please sign in to comment.