Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 8be28c1

Browse files
committedSep 25, 2024··
chore: remove browser field edge case test
1 parent 04c717f commit 8be28c1

File tree

2 files changed

+4
-7
lines changed

2 files changed

+4
-7
lines changed
 

‎playground/resolve/browser-field/relative.js

+2-4
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@ import rb from './no-ext.js' // no substitution
44
import rc from './ext'
55
import rd from './ext.js'
66
import re from './ext-index/index.js'
7-
// import rf from './ext-index'
8-
const rf = 'FIXME'
9-
import rg from './no-ext-index/index.js' // no substitution
7+
import rf from './no-ext-index/index.js' // no substitution
108

11-
export { ra, rb, rc, rd, re, rf, rg }
9+
export { ra, rb, rc, rd, re, rf }

‎playground/resolve/index.html

+2-3
Original file line numberDiff line numberDiff line change
@@ -322,11 +322,10 @@ <h2>resolve non normalized absolute path</h2>
322322
rd,
323323
re,
324324
rf,
325-
rg,
326325
} from '@vitejs/test-resolve-browser-field/relative'
327326

328-
const success = [main, a, c, d, e, f, h, i, ra, rc, rd, re, rf]
329-
const noSuccess = [b, g, rb, rg]
327+
const success = [main, a, c, d, e, f, h, i, ra, rc, rd, re]
328+
const noSuccess = [b, g, rb, rf]
330329

331330
if (
332331
[...success, ...noSuccess].filter((text) => text.includes('[success]'))

0 commit comments

Comments
 (0)
Please sign in to comment.