mirror of
https://github.com/nodejs/node.git
synced 2026-11-25 23:01:06 -05:00
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>
8 lines
187 B
JavaScript
8 lines
187 B
JavaScript
const test = require('node:test');
|
|
const assert = require('node:assert');
|
|
const { foo } = require('./logic-file.js');
|
|
|
|
test('foo returns 1', () => {
|
|
assert.strictEqual(foo(), 1);
|
|
});
|