Skip to content

Commit

Permalink
chore: remove browser field edge case test
Browse files Browse the repository at this point in the history
  • Loading branch information
sapphi-red committed Sep 25, 2024
1 parent 04c717f commit 8be28c1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
6 changes: 2 additions & 4 deletions playground/resolve/browser-field/relative.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ import rb from './no-ext.js' // no substitution
import rc from './ext'
import rd from './ext.js'
import re from './ext-index/index.js'
// import rf from './ext-index'
const rf = 'FIXME'
import rg from './no-ext-index/index.js' // no substitution
import rf from './no-ext-index/index.js' // no substitution

export { ra, rb, rc, rd, re, rf, rg }
export { ra, rb, rc, rd, re, rf }
5 changes: 2 additions & 3 deletions playground/resolve/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -322,11 +322,10 @@ <h2>resolve non normalized absolute path</h2>
rd,
re,
rf,
rg,
} from '@vitejs/test-resolve-browser-field/relative'

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

if (
[...success, ...noSuccess].filter((text) => text.includes('[success]'))
Expand Down

0 comments on commit 8be28c1

Please sign in to comment.