See https://github.com/nodejs/node/pull/47498 for an example of such a migration pseudo-tty tests can migrate as well, but that will require some more work using something like https://github.com/microsoft/node-pty or similar
pseudo-tty