test: added testing via a browser (puppeteer)
This commit is contained in:
@@ -2,7 +2,7 @@ import {resolve, join, dirname} from "node:path";
|
||||
|
||||
import test from "ava";
|
||||
import { rollup } from "rollup";
|
||||
import {debugPrintOutput, getCode} from "../util/test.js";
|
||||
import {debugPrintOutput, getCode} from "../util/index.ts";
|
||||
|
||||
import html from "../../src/index.ts";
|
||||
|
||||
@@ -28,7 +28,7 @@ test.serial('multi-entry', async (t) => {
|
||||
}),
|
||||
]
|
||||
});
|
||||
const code = await getCode(bundle, output, true);
|
||||
const code = await getCode(bundle, output);
|
||||
debugPrintOutput('multi-entry',code);
|
||||
t.snapshot(code);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user