Skip to content

Commit

Permalink
Update test snapshot
Browse files Browse the repository at this point in the history
  • Loading branch information
kdy1 committed Jul 6, 2024
1 parent e697605 commit 8d526b5
Showing 1 changed file with 18 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,43 +2,52 @@

exports[`transform in strip-only mode should remove declare enum 1`] = `" "`;

exports[`transform in strip-only mode should remove declare enum 2`] = `" "`;
exports[`transform in strip-only mode should remove declare enum 2`] = `
"
"
`;

exports[`transform in strip-only mode should remove declare enum 3`] = `" "`;
exports[`transform in strip-only mode should remove declare enum 3`] = `
"
"
`;

exports[`transform in strip-only mode should strip complex expressions 1`] = `
"const foo = {
foo: 1 ,
bar: "bar" ,
bar: \\"bar\\" ,
} ;
const bar = "bar";"
const bar = \\"bar\\";"
`;

exports[`transform in strip-only mode should strip nonnull assertions 1`] = `
"const foo = 1 ;
const bar = "bar";"
const bar = \\"bar\\";"
`;

exports[`transform in strip-only mode should strip satisfies 1`] = `
"const foo = 1 ;
const bar = "bar";"
const bar = \\"bar\\";"
`;

exports[`transform in strip-only mode should strip type annotations 1`] = `
"const foo = 1;
const bar = "bar";"
const bar = \\"bar\\";"
`;

exports[`transform in strip-only mode should strip type assertions 1`] = `
"const foo = 1 ;
const bar = "bar";"
const bar = \\"bar\\";"
`;

exports[`transform in strip-only mode should strip type declarations 1`] = `
"const foo = 1;
const bar = "bar";"
const bar = \\"bar\\";"
`;

exports[`transform in strip-only mode should throw an error when it encounters a module 1`] = `
Expand Down

0 comments on commit 8d526b5

Please sign in to comment.