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("js") @Nullable @Nullable String before)
    • javaScript

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

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

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