What do you want to save?
Add Code snippet
New code examples
-
Javascript 2022-02-02 20:06:57
Error: Timeout of 2000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.
"scripts": { // rest of your scripts "test": "mocha server/**/*.test.js --timeout 10000" }, Add solution -
Other 2022-02-02 17:12:05
node server
/* ====== create node.js server with core 'http' module ====== */ // dependencies const http = require("http"); // PORT const PORT = 3000; // server create const server = http.createServer((req, res) => { if (req.url === "/") {... Add solution -
Other 2022-02-02 01:56:12
.editorconfig
# EditorConfig is awesome: https://EditorConfig.org # top-most EditorConfig file root = true # Unix-style newlines with a newline ending every file [*] end_of_line = lf insert_final_newline = true # Matches multiple files with brace expansion notation ... Add solution
Best helpers
Ranking is empty