Skip to content

Commit 6b31e70

Browse files
cpsievertjcheng5
authored andcommitted
make running the test easier
1 parent ef690dd commit 6b31e70

File tree

4 files changed

+12
-238
lines changed

4 files changed

+12
-238
lines changed

169-prerender-resources/app/app.R

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,15 @@
11
library(shiny)
22

33
ui <- fluidPage(
4-
"If you see this app and 'hello' in the JS console, then this test passed",
5-
tags$script(src = "js/log-app.js")
4+
"Below is a test for behavior described ",
5+
a("here", href = "https://github.com/rstudio/rmarkdown/pull/1631"),
6+
br(),
7+
span(
8+
id = "test-message",
9+
style = "color: red",
10+
"Test failed :("
11+
),
12+
tags$script(src = "js/run-test.js")
613
)
714

815
server <- function(input, output) {}

169-prerender-resources/app/www/js/log-app.js

Lines changed: 0 additions & 1 deletion
This file was deleted.
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
$("#test-message")
2+
.text("Test passed :)")
3+
.css("color", "green");

169-prerender-resources/index.html

Lines changed: 0 additions & 235 deletions
This file was deleted.

0 commit comments

Comments
 (0)