chore: update dependencies to rollup 4 and remove unneeded dependencies
This commit is contained in:
@@ -8,12 +8,6 @@ import {debugPrintOutput, getCode} from "../util/index.ts";
|
||||
import html from "../../src/index.ts";
|
||||
import handlebars from "handlebars";
|
||||
|
||||
const output = {
|
||||
dir: 'output', // Output all files
|
||||
format: 'es', // iifi and cjs should be added to tests
|
||||
sourcemap: true,// Test if #sourcemapUrl is not accidentally included in the html-output
|
||||
};
|
||||
|
||||
import {fileURLToPath} from "node:url";
|
||||
const __dirname = dirname(fileURLToPath(import.meta.url));
|
||||
process.chdir(join(__dirname, 'fixtures'));
|
||||
@@ -29,7 +23,7 @@ test('handlebars', async () => {
|
||||
})
|
||||
]
|
||||
});
|
||||
const code = await getCode(bundle, output);
|
||||
const code = await getCode(bundle);
|
||||
debugPrintOutput('handlebars',code);
|
||||
expect(code).toMatchSnapshot();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user