diff --git a/exercises/practice/collatz-conjecture/collatz-conjecture.spec.js b/exercises/practice/collatz-conjecture/collatz-conjecture.spec.js index 3b77de9..7943162 100644 --- a/exercises/practice/collatz-conjecture/collatz-conjecture.spec.js +++ b/exercises/practice/collatz-conjecture/collatz-conjecture.spec.js @@ -10,6 +10,7 @@ beforeAll(async () => { wasmModule = await WebAssembly.compile(buffer); } catch (err) { console.log(`Error compiling *.wat: ${err}`); + process.exit(1); } }); diff --git a/exercises/practice/darts/darts.spec.js b/exercises/practice/darts/darts.spec.js index 7bc8fd6..cb2c4d8 100644 --- a/exercises/practice/darts/darts.spec.js +++ b/exercises/practice/darts/darts.spec.js @@ -10,6 +10,7 @@ beforeAll(async () => { wasmModule = await WebAssembly.compile(buffer); } catch (err) { console.log(`Error compiling *.wat: ${err}`); + process.exit(1); } }); diff --git a/exercises/practice/difference-of-squares/difference-of-squares.spec.js b/exercises/practice/difference-of-squares/difference-of-squares.spec.js index 86f634a..ff17997 100644 --- a/exercises/practice/difference-of-squares/difference-of-squares.spec.js +++ b/exercises/practice/difference-of-squares/difference-of-squares.spec.js @@ -10,6 +10,7 @@ beforeAll(async () => { wasmModule = await WebAssembly.compile(buffer); } catch (err) { console.log(`Error compiling *.wat: ${err}`); + process.exit(1); } }); diff --git a/exercises/practice/grains/grains.spec.js b/exercises/practice/grains/grains.spec.js index e81df4c..87a1e77 100644 --- a/exercises/practice/grains/grains.spec.js +++ b/exercises/practice/grains/grains.spec.js @@ -10,6 +10,7 @@ beforeAll(async () => { wasmModule = await WebAssembly.compile(buffer); } catch (err) { console.log(`Error compiling *.wat: ${err}`); + process.exit(1); } }); diff --git a/exercises/practice/hello-world/hello-world.spec.js b/exercises/practice/hello-world/hello-world.spec.js index f708108..2270477 100644 --- a/exercises/practice/hello-world/hello-world.spec.js +++ b/exercises/practice/hello-world/hello-world.spec.js @@ -10,6 +10,7 @@ beforeAll(async () => { wasmModule = await WebAssembly.compile(buffer); } catch (err) { console.log(`Error compiling *.wat: ${err}`); + process.exit(1); } }); diff --git a/exercises/practice/pangram/pangram.spec.js b/exercises/practice/pangram/pangram.spec.js index 9100b6c..b01c40e 100644 --- a/exercises/practice/pangram/pangram.spec.js +++ b/exercises/practice/pangram/pangram.spec.js @@ -30,6 +30,7 @@ beforeAll(async () => { wasmModule = await WebAssembly.compile(buffer); } catch (err) { console.log(`Error compiling *.wat: ${err}`); + process.exit(1); } }); diff --git a/exercises/practice/two-fer/two-fer.spec.js b/exercises/practice/two-fer/two-fer.spec.js index 00c88aa..11a6087 100644 --- a/exercises/practice/two-fer/two-fer.spec.js +++ b/exercises/practice/two-fer/two-fer.spec.js @@ -10,6 +10,7 @@ beforeAll(async () => { wasmModule = await WebAssembly.compile(buffer); } catch (err) { console.log(`Error compiling *.wat: ${err}`); + process.exit(1); } });