Skip to content
On this page

Node.js

You should define a main module named app.js as the entry point of your Node.js application. Your Node.js code should be linted using ESLint with the recommended configuration for Node.js.

Version

Running on Node.js v20.0.0

Supported languages

Javascript

Testing framework

Jest

Special reminders and implementation details

js
const { getMessage } = require("./index");

describe("App", () => {
  test("should return 'Hello world!'", () => {
    const message = "Hello World!";
    expect(getMessage(message)).toEqual("Hello World!");
  });
});
1
2
3
4
5
6
7
8

Included libraries