Skip to content

Commit

Permalink
Use webassembly-feature properly
Browse files Browse the repository at this point in the history
  • Loading branch information
Liamolucko committed Oct 6, 2022
1 parent a74f64e commit cb9248c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions test/cases/wasm/imports-complex-types/test.filter.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const wasmFeatures = require("webassembly-feature");
const supports = require("webassembly-feature");

module.exports = function(config) {
return wasmFeatures["simd"];
return supports["simd"]();
};
4 changes: 2 additions & 2 deletions test/configCases/wasm/bigints/test.filter.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const wasmFeatures = require("webassembly-feature");
const supports = require("webassembly-feature");

module.exports = function(config) {
return wasmFeatures["JS-BigInt-integration"];
return supports["JS-BigInt-integration"]();
};

0 comments on commit cb9248c

Please sign in to comment.