Skip to content

Commit

Permalink
doc: remove non-working example
Browse files Browse the repository at this point in the history
PR-URL: #55856
Reviewed-By: Pietro Marchini <[email protected]>
Reviewed-By: Chemi Atlow <[email protected]>
Reviewed-By: Jacob Smith <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: Raz Luvaton <[email protected]>
Reviewed-By: Marco Ippolito <[email protected]>
  • Loading branch information
aduh95 authored and ruyadorno committed Nov 27, 2024
1 parent 824ac65 commit d1bd0ef
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 20 deletions.
11 changes: 1 addition & 10 deletions doc/api/sqlite.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
11 changes: 1 addition & 10 deletions doc/api/test.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit d1bd0ef

Please sign in to comment.