mirror of
https://github.com/gotenberg/gotenberg.git
synced 2026-10-13 15:53:17 +01:00
test: add integration tests
This commit is contained in:
16
test/integration/testdata/pages-3-markdown/index.html
vendored
Normal file
16
test/integration/testdata/pages-3-markdown/index.html
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<title>Pages 3</title>
|
||||
<style>
|
||||
.page-break-after {
|
||||
page-break-after: always;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="page-break-after">{{ toHTML "page_1.md" }}</div>
|
||||
<div class="page-break-after">{{ toHTML "page_2.md" }}</div>
|
||||
<div class="page-break-after">{{ toHTML "page_3.md" }}</div>
|
||||
</body>
|
||||
</html>
|
||||
1
test/integration/testdata/pages-3-markdown/page_1.md
vendored
Normal file
1
test/integration/testdata/pages-3-markdown/page_1.md
vendored
Normal file
@@ -0,0 +1 @@
|
||||
# Page 1
|
||||
1
test/integration/testdata/pages-3-markdown/page_2.md
vendored
Normal file
1
test/integration/testdata/pages-3-markdown/page_2.md
vendored
Normal file
@@ -0,0 +1 @@
|
||||
# Page 2
|
||||
1
test/integration/testdata/pages-3-markdown/page_3.md
vendored
Normal file
1
test/integration/testdata/pages-3-markdown/page_3.md
vendored
Normal file
@@ -0,0 +1 @@
|
||||
# Page 3
|
||||
Reference in New Issue
Block a user