Skip to content

Commit

Permalink
Update jest snapshot
Browse files Browse the repository at this point in the history
  • Loading branch information
kdy1 committed Jul 15, 2024
1 parent 7c1f62b commit c16042a
Showing 1 changed file with 51 additions and 19 deletions.
Original file line number Diff line number Diff line change
@@ -1,53 +1,82 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`transform in strip-only mode should remove declare enum 1`] = `" "`;
exports[`transform in strip-only mode should remove declare enum 1`] = `
{
"code": " ",
"map": undefined,
}
`;

exports[`transform in strip-only mode should remove declare enum 2`] = `
"
{
"code": "
"
",
"map": undefined,
}
`;

exports[`transform in strip-only mode should remove declare enum 3`] = `
"
{
"code": "
"
",
"map": undefined,
}
`;

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

exports[`transform in strip-only mode should strip nonnull assertions 1`] = `
"const foo = 1 ;
const bar = "bar";"
{
"code": "const foo = 1 ;
const bar = "bar";",
"map": undefined,
}
`;

exports[`transform in strip-only mode should strip satisfies 1`] = `
"const foo = 1 ;
const bar = "bar";"
{
"code": "const foo = 1 ;
const bar = "bar";",
"map": undefined,
}
`;

exports[`transform in strip-only mode should strip type annotations 1`] = `
"const foo = 1;
const bar = "bar";"
{
"code": "const foo = 1;
const bar = "bar";",
"map": undefined,
}
`;

exports[`transform in strip-only mode should strip type assertions 1`] = `
"const foo = 1 ;
const bar = "bar";"
{
"code": "const foo = 1 ;
const bar = "bar";",
"map": undefined,
}
`;

exports[`transform in strip-only mode should strip type declarations 1`] = `
"const foo = 1;
{
"code": "const foo = 1;
const bar = "bar";"
const bar = "bar";",
"map": undefined,
}
`;

exports[`transform in strip-only mode should throw an error when it encounters a module 1`] = `
Expand Down Expand Up @@ -78,8 +107,11 @@ exports[`transform in strip-only mode should throw an error when it encounters a
`;

exports[`transform should strip types 1`] = `
"
{
"code": "
export const foo = 1;
"
",
"map": undefined,
}
`;

0 comments on commit c16042a

Please sign in to comment.