Remove typescript-babel-only directory (#19635)
This commit is contained in:
1 parent
904f04f3ed
commit
8f8fa1b026
6 files changed
+34
-89
No files matched your search
@@ -609,3 +609,37 @@ class OrderLine {
|
|||||||
|
|
||||||
================================================================================
|
================================================================================
|
||||||
`;
|
`;
|
||||||
|
|
||||||
|
exports[`parenthesized-decorators-call-expression.ts format 1`] = `
|
||||||
|
====================================options=====================================
|
||||||
|
parsers: ["typescript"]
|
||||||
|
printWidth: 80 (default) |
|
||||||
|
=====================================input======================================
|
||||||
|
@(test().x("global").y())
|
||||||
|
class X {}
|
||||||
|
|
||||||
|
=====================================output=====================================
|
||||||
|
@(test().x("global").y())
|
||||||
|
class X {}
|
||||||
|
|
||||||
|
================================================================================
|
||||||
|
`;
|
||||||
|
|
||||||
|
exports[`parenthesized-decorators-tagged-template.ts format 1`] = `
|
||||||
|
====================================options=====================================
|
||||||
|
parsers: ["typescript"]
|
||||||
|
printWidth: 80 (default) |
|
||||||
|
=====================================input======================================
|
||||||
|
class Test {
|
||||||
|
@(foo\`bar\`)
|
||||||
|
text: string = "text"
|
||||||
|
}
|
||||||
|
|
||||||
|
=====================================output=====================================
|
||||||
|
class Test {
|
||||||
|
@(foo\`bar\`)
|
||||||
|
text: string = "text";
|
||||||
|
}
|
||||||
|
|
||||||
|
================================================================================
|
||||||
|
`;
|
||||||
File renamed without changes.
File renamed without changes.
@@ -1,74 +0,0 @@
|
|||||||
// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing
|
|
||||||
|
|
||||||
exports[`decorator-auto-accessors-new-line.ts format 1`] = `
|
|
||||||
====================================options=====================================
|
|
||||||
parsers: ["babel-ts"]
|
|
||||||
printWidth: 80 (default) |
|
|
||||||
=====================================input======================================
|
|
||||||
class Foo {
|
|
||||||
accessor
|
|
||||||
["bar"];
|
|
||||||
}
|
|
||||||
|
|
||||||
class Foo {
|
|
||||||
static accessor
|
|
||||||
bar;
|
|
||||||
}
|
|
||||||
|
|
||||||
class Foo {
|
|
||||||
accessor
|
|
||||||
bar;
|
|
||||||
}
|
|
||||||
|
|
||||||
=====================================output=====================================
|
|
||||||
class Foo {
|
|
||||||
accessor;
|
|
||||||
["bar"];
|
|
||||||
}
|
|
||||||
|
|
||||||
class Foo {
|
|
||||||
static accessor;
|
|
||||||
bar;
|
|
||||||
}
|
|
||||||
|
|
||||||
class Foo {
|
|
||||||
accessor;
|
|
||||||
bar;
|
|
||||||
}
|
|
||||||
|
|
||||||
================================================================================
|
|
||||||
`;
|
|
||||||
|
|
||||||
exports[`parenthesized-decorators-call-expression.ts format 1`] = `
|
|
||||||
====================================options=====================================
|
|
||||||
parsers: ["babel-ts"]
|
|
||||||
printWidth: 80 (default) |
|
|
||||||
=====================================input======================================
|
|
||||||
@(test().x("global").y())
|
|
||||||
class X {}
|
|
||||||
|
|
||||||
=====================================output=====================================
|
|
||||||
@(test().x("global").y())
|
|
||||||
class X {}
|
|
||||||
|
|
||||||
================================================================================
|
|
||||||
`;
|
|
||||||
|
|
||||||
exports[`parenthesized-decorators-tagged-template.ts format 1`] = `
|
|
||||||
====================================options=====================================
|
|
||||||
parsers: ["babel-ts"]
|
|
||||||
printWidth: 80 (default) |
|
|
||||||
=====================================input======================================
|
|
||||||
class Test {
|
|
||||||
@(foo\`bar\`)
|
|
||||||
text: string = "text"
|
|
||||||
}
|
|
||||||
|
|
||||||
=====================================output=====================================
|
|
||||||
class Test {
|
|
||||||
@(foo\`bar\`)
|
|
||||||
text: string = "text";
|
|
||||||
}
|
|
||||||
|
|
||||||
================================================================================
|
|
||||||
`;
|
|
||||||
@@ -1,14 +0,0 @@
|
|||||||
class Foo {
|
|
||||||
accessor
|
|
||||||
["bar"];
|
|
||||||
}
|
|
||||||
|
|
||||||
class Foo {
|
|
||||||
static accessor
|
|
||||||
bar;
|
|
||||||
}
|
|
||||||
|
|
||||||
class Foo {
|
|
||||||
accessor
|
|
||||||
bar;
|
|
||||||
}
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
runFormatTest(import.meta, ["babel-ts"]);
|
|
||||||
Reference in new issue
Block a user