Software: Apache. PHP/8.1.30 uname -a: Linux server1.tuhinhossain.com 5.15.0-151-generic #161-Ubuntu SMP Tue Jul 22 14:25:40 UTC uid=1002(picotech) gid=1003(picotech) groups=1003(picotech),0(root) Safe-mode: OFF (not secure) /home/picotech/domains/wa.picotech.app/public_html/node_modules/thread-stream/test/ drwxr-xr-x |
Viewing file: Select action/file-type: 'use strict' const { test } = require('tap') const { join } = require('path') const { file } = require('./helper') const ThreadStream = require('..') function basic (esVersion) { test(`transpiled-ts-to-${esVersion}`, function (t) { t.plan(2) const dest = file() const stream = new ThreadStream({ filename: join(__dirname, 'ts', `to-file.${esVersion}.cjs`), workerData: { dest }, sync: true }) // There are arbitrary checks, the important aspect of this test is to ensure // that we can properly load the transpiled file into our worker thread. t.same(stream.writableEnded, false) stream.end() t.same(stream.writableEnded, true) }) } basic('es5') basic('es6') basic('es2017') basic('esnext') |
:: Command execute :: | |
--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.0032 ]-- |