Files
Niklas MischkulnigandGitHub 32acdc03e8 Turbopack: absolute requests in webpack loader (#84575)
Recent sass-loader versions use this heavily: `this.getResolver()(..., "/Users/foo/..../bar.scss")`
2025-10-07 16:02:01 +02:00

18 lines
423 B
TypeScript

import { nextTestSetup } from 'e2e-utils'
describe('webpack-loader-fs', () => {
const { next, skipped } = nextTestSetup({
files: __dirname,
skipDeployment: true,
})
if (skipped) return
it('should allow reading the input FS', async () => {
const $ = await next.render$('/')
expect($('#test').text()).toBe(
"Buffer read: 18, string read: 'this is some data', binary read: 6765"
)
})
})