Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
chenjiahan committed Oct 29, 2024
1 parent c25b9ed commit fbc9f01
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
it("should contain contenthash as query parameter and path", function () {
var fs = require("fs");
var source = fs.readFileSync(__filename, "utf-8");
var match = /sourceMappingURL\s*=.*-([A-Fa-f0-9]{32})\.map\?([A-Fa-f0-9]{32})-([A-Fa-f0-9]{6})/.exec(
var match = /sourceMappingURL\s*=.*-([A-Fa-f0-9]{16})\.map\?([A-Fa-f0-9]{16})-([A-Fa-f0-9]{6})/.exec(
source
);
expect(match.length).toBe(4);
Expand Down

0 comments on commit fbc9f01

Please sign in to comment.