mirror of
https://github.com/oven-sh/bun
synced 2026-02-13 12:29:07 +00:00
18 lines
429 B
JavaScript
18 lines
429 B
JavaScript
// Flags: --title=foo
|
|
'use strict';
|
|
|
|
const common = require('../common');
|
|
if (common.isWindows) return; // TODO: BUN
|
|
|
|
if (common.isSunOS)
|
|
common.skip(`Unsupported platform [${process.platform}]`);
|
|
|
|
if (common.isIBMi)
|
|
common.skip('Unsupported platform IBMi');
|
|
|
|
const assert = require('assert');
|
|
|
|
// Verifies that the --title=foo command line flag set the process
|
|
// title on startup.
|
|
assert.strictEqual(process.title, 'foo');
|