Skip to content

Commit 2f2bfaf

Browse files
author
Mateusz Starzec
committed
Add JS dependency for tests
1 parent 7603870 commit 2f2bfaf

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

build.sbt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,9 @@ libraryDependencies ++= Seq(
6363
"com.lihaoyi" %%% "scalatags" % "0.6.7" % Test
6464
)
6565

66+
jsDependencies +=
67+
"org.webjars" % "jquery" % "3.3.1" % Test / "3.3.1/jquery.js" minified "3.3.1/jquery.min.js"
68+
6669
lazy val root = project.in(file("."))
6770
.enablePlugins(ScalaJSPlugin)
6871
.settings(commonJSSettings)

example/project/Dependencies.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import sbt._
33

44
object Dependencies {
55
val udashCoreVersion = "0.6.1"
6-
val udashJQueryVersion = "1.2.0"
6+
val udashJQueryVersion = "2.0.0"
77

88
val deps = Def.setting(Seq[ModuleID](
99
"io.udash" %%% "udash-core-frontend" % udashCoreVersion,
@@ -12,5 +12,5 @@ object Dependencies {
1212

1313
val jsDeps = Def.setting(Seq[JSModuleID](
1414
"org.webjars" % "jquery" % "3.3.1" / "3.3.1/jquery.js" minified "3.3.1/jquery.min.js"
15-
)
15+
))
1616
}

0 commit comments

Comments
 (0)