node/test/fixtures/test-runner/plan/plan-via-options.mjs
Pietro Marchini 1b655c7631
test: test runner run plan
PR-URL: https://github.com/nodejs/node/pull/57304
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
2025-03-10 22:23:23 +00:00

9 lines
209 B
JavaScript

import test from 'node:test';
test('failing planning by options', { plan: 1 }, () => {
// Should fail - no assertions
});
test('passing planning by options', { plan: 1 }, (t) => {
t.assert.ok(true);
});