Files
Donny/강동윤andGitHub ccf491dc71 chore: Update terser to v5.27.0 (#61068)
### What?

Update terser to the latest version.

### Why?

We need
https://github.com/terser/terser/commit/c677e285261a0f115409a42015bd3664c8416534
which adds supports for class static blocks.

### How?

Closes PACK-2285
Fixes #60837
2024-01-24 08:42:08 +01:00

18 lines
349 B
TypeScript

import { createNextDescribe } from 'e2e-utils'
createNextDescribe(
'terser-class-static-blocks',
{
files: __dirname,
nextConfig: {
swcMinify: false,
},
},
({ next }) => {
it('should work using cheerio', async () => {
const $ = await next.render$('/')
expect($('p').text()).toBe('hello world')
})
}
)