Class Assertions

java.lang.Object
org.openrewrite.javascript.Assertions

public final class Assertions extends Object
  • Method Details

    • javaScript

      public static org.openrewrite.test.SourceSpecs javaScript(@Language("typescript") @Nullable String before)
    • javaScript

      public static org.openrewrite.test.SourceSpecs javaScript(@Language("typescript") @Nullable String before, Consumer<org.openrewrite.test.SourceSpec<JS.CompilationUnit>> spec)
    • javaScript

      public static org.openrewrite.test.SourceSpecs javaScript(@Language("typescript") @Nullable String before, @Language("typescript") String after)
    • javaScript

      public static org.openrewrite.test.SourceSpecs javaScript(@Language("typescript") @Nullable String before, @Language("typescript") String after, Consumer<org.openrewrite.test.SourceSpec<JS.CompilationUnit>> spec)
    • isFullyParsed

      public static Consumer<org.openrewrite.test.SourceSpec<JS.CompilationUnit>> isFullyParsed()