const img = new URL("./img.png", import.meta.url);

it("should allow to create css modules", done => {
	import("./asyncChunk2").then(({ default: x }) => {
		try {
			expect(img.toString()).toBe("https://test.cases/path/img.png");
			expect(x.default.class).toEqual("-_test_module_css-class");
		} catch (e) {
			return done(e);
		}

		done();
	}, done);
});
