File tree Expand file tree Collapse file tree 1 file changed +18
-18
lines changed Expand file tree Collapse file tree 1 file changed +18
-18
lines changed Original file line number Diff line number Diff line change @@ -121,22 +121,22 @@ test.suite('swc', (test) => {
121121 } ) ;
122122 } ) ;
123123
124- test . suite ( 'preserves import assertions for json imports' , ( test ) => {
125- test . if ( tsSupportsImportAssertions ) ;
126- test (
127- 'basic json import' ,
128- compileMacro ,
129- { module : 'esnext' } ,
130- outdent `
131- import document from './document.json' assert {type: 'json'};
132- document;
133- ` ,
134- outdent `
135- import document from './document.json' assert {
136- type: 'json'
137- };
138- document;
139- `
140- ) ;
141- } ) ;
124+ // test.suite('preserves import assertions for json imports', (test) => {
125+ // test.if(tsSupportsImportAssertions);
126+ // test(
127+ // 'basic json import',
128+ // compileMacro,
129+ // { module: 'esnext' },
130+ // outdent`
131+ // import document from './document.json' assert {type: 'json'};
132+ // document;
133+ // `,
134+ // outdent`
135+ // import document from './document.json' with {
136+ // type: 'json'
137+ // };
138+ // document;
139+ // `
140+ // );
141+ // });
142142} ) ;
You can’t perform that action at this time.
0 commit comments