PR-URL: https://github.com/nodejs/node/pull/56060 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
7 lines
172 B
TypeScript
7 lines
172 B
TypeScript
import test from 'node:test';
|
|
import assert from 'node:assert';
|
|
import { foo } from './logic-file.js';
|
|
|
|
test('foo returns 1', () => {
|
|
assert.strictEqual(foo(), 1);
|
|
});
|