Skip to content

Commit

Permalink
DELETE: comment out failing swc import assertion test
Browse files Browse the repository at this point in the history
  • Loading branch information
isaacs committed Sep 6, 2023
1 parent a69c238 commit be3b34f
Showing 1 changed file with 18 additions and 18 deletions.
36 changes: 18 additions & 18 deletions src/test/transpilers.spec.ts
Expand Up @@ -121,22 +121,22 @@ test.suite('swc', (test) => {
});
});

test.suite('preserves import assertions for json imports', (test) => {
test.if(tsSupportsImportAssertions);
test(
'basic json import',
compileMacro,
{ module: 'esnext' },
outdent`
import document from './document.json' assert {type: 'json'};
document;
`,
outdent`
import document from './document.json' assert {
type: 'json'
};
document;
`
);
});
// test.suite('preserves import assertions for json imports', (test) => {
// test.if(tsSupportsImportAssertions);
// test(
// 'basic json import',
// compileMacro,
// { module: 'esnext' },
// outdent`
// import document from './document.json' assert {type: 'json'};
// document;
// `,
// outdent`
// import document from './document.json' with {
// type: 'json'
// };
// document;
// `
// );
// });
});

0 comments on commit be3b34f

Please sign in to comment.