Skip to content

Commit

Permalink
Laminar 17.0.0-M6
Browse files Browse the repository at this point in the history
  • Loading branch information
Iurii Malchenko committed Jan 15, 2024
1 parent 6f90641 commit 081c908
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,16 @@ trait LaminarSpec extends MountOps with RuleImplicits[Tag.Base, CommentNode, Htm

def sentinel: ExpectedNode = ExpectedNode.comment

/**
* You can use this when `sentinel` does not make sense semantically
*/
def emptyCommentNode: ExpectedNode = ExpectedNode.comment

def mount(
node: ReactiveElement.Base,
clue: String = defaultMountedElementClue
)(implicit
prettifier: scalactic.Prettifier,
pos: scalactic.source.Position
): Unit = {
mountedElementClue = clue
Expand All @@ -43,12 +49,18 @@ trait LaminarSpec extends MountOps with RuleImplicits[Tag.Base, CommentNode, Htm
clue: String,
node: ReactiveElement.Base
)(implicit
prettifier: scalactic.Prettifier,
pos: scalactic.source.Position
): Unit = {
mount(node, clue)(pos)
mount(node, clue)(prettifier, pos)
}

override def unmount(clue: String = "unmount")(implicit pos: scalactic.source.Position): Unit = {
override def unmount(
clue: String = "unmount"
)(implicit
prettifier: scalactic.Prettifier,
pos: scalactic.source.Position
): Unit = {
assertRootNodeMounted("unmount:" + clue)
doAssert(
root != null,
Expand Down
4 changes: 2 additions & 2 deletions project/DependencyVersions.scala
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
object DependencyVersions {

val laminar = "17.0.0-M2"
val laminar = "17.0.0-M6"
val `tuplez-apply` = "0.4.0"
val domtestutils = "17.0.0"
val domtestutils = "18.0.1"
val scalatest = "3.2.17"

// tests
Expand Down
2 changes: 1 addition & 1 deletion project/build.properties
Original file line number Diff line number Diff line change
@@ -1 +1 @@
sbt.version=1.9.7
sbt.version=1.9.8

0 comments on commit 081c908

Please sign in to comment.