testing-language-server/demo/node-test/util.js

5 lines
119 B
JavaScript

const throwError = () => {
throw new Error("this will cause the test to fail");
};
module.exports = { throwError };