Package org.openrewrite.javascript
Class Assertions
java.lang.Object
org.openrewrite.javascript.Assertions
-
Method Summary
Modifier and TypeMethodDescriptionstatic Consumer<org.openrewrite.test.SourceSpec<JS.CompilationUnit>>
static org.openrewrite.test.SourceSpecs
javaScript
(@Nullable String before) static org.openrewrite.test.SourceSpecs
javaScript
(@Nullable String before, String after) static org.openrewrite.test.SourceSpecs
javaScript
(@Nullable String before, String after, Consumer<org.openrewrite.test.SourceSpec<JS.CompilationUnit>> spec) static org.openrewrite.test.SourceSpecs
javaScript
(@Nullable String before, Consumer<org.openrewrite.test.SourceSpec<JS.CompilationUnit>> spec)
-
Method Details
-
javaScript
public static org.openrewrite.test.SourceSpecs javaScript(@Language("typescript") @Nullable @Nullable String before) -
javaScript
public static org.openrewrite.test.SourceSpecs javaScript(@Language("typescript") @Nullable @Nullable String before, Consumer<org.openrewrite.test.SourceSpec<JS.CompilationUnit>> spec) -
javaScript
-
javaScript
public static org.openrewrite.test.SourceSpecs javaScript(@Language("typescript") @Nullable @Nullable String before, @Language("typescript") String after, Consumer<org.openrewrite.test.SourceSpec<JS.CompilationUnit>> spec) -
isFullyParsed
-