diff --git a/doc/api/sqlite.md b/doc/api/sqlite.md index 34dfdaf1b11..42cfbd45a35 100644 --- a/doc/api/sqlite.md +++ b/doc/api/sqlite.md @@ -22,16 +22,7 @@ import sqlite from 'node:sqlite'; const sqlite = require('node:sqlite'); ``` -This module is only available under the `node:` scheme. The following will not -work: - -```mjs -import sqlite from 'sqlite'; -``` - -```cjs -const sqlite = require('sqlite'); -``` +This module is only available under the `node:` scheme. The following example shows the basic usage of the `node:sqlite` module to open an in-memory database, write data to the database, and then read the data back. diff --git a/doc/api/test.md b/doc/api/test.md index a6ca7531d50..37977a9b8a5 100644 --- a/doc/api/test.md +++ b/doc/api/test.md @@ -27,16 +27,7 @@ import test from 'node:test'; const test = require('node:test'); ``` -This module is only available under the `node:` scheme. The following will not -work: - -```mjs -import test from 'test'; -``` - -```cjs -const test = require('test'); -``` +This module is only available under the `node:` scheme. Tests created via the `test` module consist of a single function that is processed in one of three ways: