silverwolf-x's picture
download
raw
582 Bytes
import { nextTestSetup } from 'e2e-utils'
describe('sharp support with hasNextSupport', () => {
const { next } = nextTestSetup({
files: __dirname,
dependencies: {
sharp: 'latest',
},
packageJson: {
pnpm: {
onlyBuiltDependencies: ['sqlite3'],
},
},
env: {
NOW_BUILDER: '1',
},
})
// we're mainly checking if build/start were successful so
// we have a basic assertion here
it('should work using cheerio', async () => {
const $ = await next.render$('/')
expect($('p').text()).toBe('hello world')
})
})

Xet Storage Details

Size:
582 Bytes
·
Xet hash:
434ffa0db7cad4946fe20847586f860d6c3cf122c2272aa278ab1e766379dada

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.