Actualizacion maquina principal
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-prettier / node_modules / normalize-selector / test / mocha / node-suite.js
diff --git a/.config/coc/extensions/node_modules/coc-prettier/node_modules/normalize-selector/test/mocha/node-suite.js b/.config/coc/extensions/node_modules/coc-prettier/node_modules/normalize-selector/test/mocha/node-suite.js
new file mode 100644 (file)
index 0000000..087a316
--- /dev/null
@@ -0,0 +1,18 @@
+// test/mocha/node-suite.js
+
+// This runs with mocha programmatically rather than from the command line.
+// how-to-with-comments taken from https://github.com/itaylor/qunit-mocha-ui
+
+//Load mocha
+var Mocha = require("mocha");
+
+//Tell mocha to use the interface.
+var mocha = new Mocha({ui:"qunit", reporter:"spec"});
+
+//Add your test files
+mocha.addFile("./test/mocha/suite.js");
+
+//Run your tests
+mocha.run(function(failures){
+  process.exit(failures);
+});
\ No newline at end of file