Skip to content

Commit e2fbc52

Browse files
remove test
1 parent 356f931 commit e2fbc52

1 file changed

Lines changed: 0 additions & 17 deletions

File tree

‎packages/start-plugin-core/tests/importProtection/virtualModules.test.ts‎

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -23,23 +23,6 @@ describe('loadSilentMockModule', () => {
2323
})
2424
})
2525

26-
describe('loadMockEdgeModule', () => {
27-
test('does not add PURE annotations to property reads', () => {
28-
const encodedPayload = Buffer.from(
29-
JSON.stringify({ exports: ['foo', 'bar'], runtimeId: 'x' }),
30-
)
31-
.toString('base64')
32-
.replace(/\+/g, '-')
33-
.replace(/\//g, '_')
34-
.replace(/=+$/g, '')
35-
36-
const result = loadMockEdgeModule(encodedPayload)
37-
expect(result.code).toContain('export const foo = mock.foo')
38-
expect(result.code).toContain('export const bar = mock.bar')
39-
expect(result.code).not.toContain('@__PURE__ */ mock.')
40-
})
41-
})
42-
4326
describe('loadMarkerModule', () => {
4427
test('returns empty module', () => {
4528
const result = loadMarkerModule()

0 commit comments

Comments
 (0)