Unverified Commit 470cf12a authored by Niklas Mischkulnig's avatar Niklas Mischkulnig Committed by GitHub

Turbopack: pull in updated vercel/nft tests (#93321)

From
https://github.com/vercel/nft/commit/baf9df627e30f3e3c4199eeda128a527c715fffc

Still need to eventually look into actually enabling all of these
parent 8384791e
import { x } from '#x' import { x } from '#x'
console.log(x) console.log(x)
import { pkg } from '#pkg'
console.log(pkg)
;[ ;[
'test/unit/imports/input.js', 'test/unit/imports/input.js',
'test/unit/imports/node.js', 'test/unit/imports/node.js',
'test/unit/imports/node_modules/pkg/index.js',
'test/unit/imports/package.json', 'test/unit/imports/package.json',
] ]
...@@ -7,6 +7,7 @@ ...@@ -7,6 +7,7 @@
"default": { "default": {
"node": "./node.js" "node": "./node.js"
} }
} },
"#pkg": "pkg"
} }
} }
import pino from 'pino'
const logger = pino({
transport: {
target: 'my-pino-transport',
},
})
module.exports = function pino() {}
module.exports.transport = function transport() {}
;[
'test/unit/pino-transport-constructor/input.js',
'test/unit/pino-transport-constructor/node_modules/my-pino-transport/index.js',
'test/unit/pino-transport-constructor/node_modules/my-pino-transport/package.json',
'test/unit/pino-transport-constructor/node_modules/pino/index.js',
'test/unit/pino-transport-constructor/node_modules/pino/package.json',
'test/unit/pino-transport-constructor/package.json',
]
import fastify from 'fastify'
const app = fastify({
logger: {
transport: {
target: 'my-pino-transport',
},
},
})
module.exports = function pino() {}
module.exports.transport = function transport() {}
;[
'test/unit/pino-transport-fastify/input.js',
'test/unit/pino-transport-fastify/node_modules/fastify/index.js',
'test/unit/pino-transport-fastify/node_modules/fastify/package.json',
'test/unit/pino-transport-fastify/node_modules/my-pino-transport/index.js',
'test/unit/pino-transport-fastify/node_modules/my-pino-transport/package.json',
'test/unit/pino-transport-fastify/package.json',
]
...@@ -136,6 +136,8 @@ static ALLOC: turbo_tasks_malloc::TurboMalloc = turbo_tasks_malloc::TurboMalloc; ...@@ -136,6 +136,8 @@ static ALLOC: turbo_tasks_malloc::TurboMalloc = turbo_tasks_malloc::TurboMalloc;
#[case::path_sep("path-sep")] #[case::path_sep("path-sep")]
// #[case::phantomjs_prebuilt("phantomjs-prebuilt")] // #[case::phantomjs_prebuilt("phantomjs-prebuilt")]
// #[case::pino_transport("pino-transport")] // #[case::pino_transport("pino-transport")]
// #[case::pino_transport_constructor("pino-transport-constructor")]
// #[case::pino_transport_fastify("pino-transport-fastify")]
// #[case::pino_transport_targets("pino-transport-targets")] // #[case::pino_transport_targets("pino-transport-targets")]
// #[case::pixelmatch("pixelmatch")] // #[case::pixelmatch("pixelmatch")]
// #[case::pkg_dir_outside_base("pkg-dir-outside-base")] // #[case::pkg_dir_outside_base("pkg-dir-outside-base")]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment