Generate coverage with nyc, without made test

I have a webserver made with Express.js and I want check the coverage of some request made with Postman, but nyc don’t show any line as reached by the requests.

I have made a small reprocucible example:

File structure

├── package.json
├── .nycrc.json
└── index.js

Files

package.json

{
  "name": "test",
  "version": "1.0.0",
  "main": "index.js",
  "scripts": {
    "cover": "nyc node index.js",
  },
  "author": "",
  "license": "ISC",
  "description": "",
  "dependencies": {
    "express": "^5.1.0"
  },
  "devDependencies": {
    "nyc": "^17.1.0"
  }
}

.nycrc.json

{
    "all": true,
    "check-coverage": false,
    "extension": [
        ".js"
    ],
    "include": [
        "**/*.js"
    ],
    "reporter": [
        "text",
        "lcov",
        "html"
    ]
}

index.js

import express from 'express';

const app = express();

app.get('/', (req, res) => {
    res.status(200).send('Hello World');
});

app.listen(3000, () => {
    console.log('Server started on: http://localhost:3000/');
});

Steps to reproduce

start the web server:

npm run cover

> [email protected] cover
> nyc node index.js

Server started on: http://localhost:3000/

open http://localhost:3000/ in a browser. output:

Hello World

close the terminal with CTRL + C, this is the final nyc output:

----------|---------|----------|---------|---------|-------------------
File      | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
----------|---------|----------|---------|---------|-------------------
All files |       0 |      100 |       0 |       0 |                  
 index.js |       0 |      100 |       0 |       0 | 3-10             
----------|---------|----------|---------|---------|-------------------