diff --git a/test/wasi/test-return-on-exit.js b/test/wasi/test-return-on-exit.js index 362d13b490a96f..c64c6b7d123cc6 100644 --- a/test/wasi/test-return-on-exit.js +++ b/test/wasi/test-return-on-exit.js @@ -1,6 +1,11 @@ // Flags: --experimental-wasi-unstable-preview1 'use strict'; const common = require('../common'); + +if (!common.enoughTestMem) { + common.skip('Insufficient memory'); +} + const assert = require('assert'); const fs = require('fs'); const path = require('path');