Skip to content

Commit

Permalink
Update test/test-spec-tests.js
Browse files Browse the repository at this point in the history
Fix the require of the fs promises module
  • Loading branch information
bomsy authored Jun 9, 2024
1 parent 64050e6 commit d243a04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test-spec-tests.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* http://opensource.org/licenses/BSD-3-Clause
*/

const fs = require("node:fs/promises");
const fs = require("fs").promises;
const SourceMapConsumer =
require("../lib/source-map-consumer").SourceMapConsumer;

Expand Down

0 comments on commit d243a04

Please sign in to comment.