@@ -73,6 +73,27 @@ <h2>Resolving dot-prefixed directory with imports field</h2>
7373< h2 > Resolving #/ root alias pattern with imports field</ h2 >
7474< p class ="imports-root-slash "> fail</ p >
7575
76+ < h2 > Resolving ## prefixed pattern with imports field</ h2 >
77+ < p class ="imports-double-hash "> fail</ p >
78+
79+ < h2 > Resolving key containing # with imports field</ h2 >
80+ < p class ="imports-mid-hash "> fail</ p >
81+
82+ < h2 > Resolving key containing ? with imports field</ h2 >
83+ < p class ="imports-question-mark "> fail</ p >
84+
85+ < h2 > Resolving with hash postfix with imports field</ h2 >
86+ < p class ="imports-hash-hash "> fail</ p >
87+
88+ < h2 > Resolving #hash?query with imports field</ h2 >
89+ < p class ="imports-hash-query "> fail</ p >
90+
91+ < h2 > Resolving #mid#hash#fragment?query with imports field</ h2 >
92+ < p class ="imports-mid-hash-postfix "> fail</ p >
93+
94+ < h2 > Resolving #question?mark?query#fragment with imports field</ h2 >
95+ < p class ="imports-question-mark-postfix "> fail</ p >
96+
7697< h2 > Resolve /index.*</ h2 >
7798< p class ="index "> fail</ p >
7899
@@ -285,6 +306,27 @@ <h2>utf8-bom-package</h2>
285306 import { msg as importsRootSlash } from '#/index.js'
286307 text ( '.imports-root-slash' , importsRootSlash )
287308
309+ import { msg as importsDoubleHash } from '##double/index.js'
310+ text ( '.imports-double-hash' , importsDoubleHash )
311+
312+ import { msg as importsMidHash } from '#mid#hash'
313+ text ( '.imports-mid-hash' , importsMidHash )
314+
315+ import { msg as importsQuestionMark } from '#question?mark'
316+ text ( '.imports-question-mark' , importsQuestionMark )
317+
318+ import { msg as importsHashHash } from './imports-path/importer-hash-hash.js'
319+ text ( '.imports-hash-hash' , importsHashHash )
320+
321+ import { msg as importsHashQuery } from '#hash?query'
322+ text ( '.imports-hash-query' , importsHashQuery )
323+
324+ import { msg as importsMidHashPostfix } from '#mid#hash#fragment?query'
325+ text ( '.imports-mid-hash-postfix' , importsMidHashPostfix )
326+
327+ import { msg as importsQuestionMarkPostfix } from '#question?mark?query#fragment'
328+ text ( '.imports-question-mark-postfix' , importsQuestionMarkPostfix )
329+
288330 // implicit index resolving
289331 import { foo } from './util'
290332 text ( '.index' , foo ( ) )
0 commit comments