We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7393084 commit 6949c7aCopy full SHA for 6949c7a
2 files changed
packages/pg-esm-test/index.test.js
@@ -0,0 +1,10 @@
1
+// test/my-module.test.js
2
+import assert from 'node:assert'
3
+import { describe, it } from 'node:test'
4
+import { Client } from 'pg'
5
+
6
+describe('executeQuery', () => {
7
+ it('should return a non-empty result for a valid query', async () => {
8
+ assert.ok(true, 'hi')
9
+ })
10
+})
packages/pg-esm-test/package.json
@@ -0,0 +1,21 @@
+{
+ "name": "pg-esm-test",
+ "version": "1.0.0",
+ "description": "A test module for PostgreSQL with ESM support",
+ "main": "index.js",
+ "type": "module",
+ "scripts": {
+ "test": "node --test"
+ },
+ "keywords": [
11
+ "postgres",
12
+ "postgresql",
13
+ "esm",
14
+ "test"
15
+ ],
16
+ "dependencies": {
17
+ "pg": "^8.14.1"
18
19
+ "author": "Brian M. Carlson <brian.m.carlson@gmail.com>",
20
+ "license": "MIT"
21
+}
0 commit comments