Skip to content

Commit

Permalink
implemented task & tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ivadimko committed Apr 17, 2019
1 parent cfe44ea commit 4753b48
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 26 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 3 additions & 3 deletions config/backstop/backstopConfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ const config = {
id: 'test',
viewports: [
{
name: 'tablet_h',
width: 1024,
height: 768
name: 'custom-size',
width: 200,
height: 50
}
],
scenarios: [
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "layout-task-boilerplate",
"name": "hello-world",
"version": "1.0.0",
"description": "Boilerplate for layout tasks with visual regression testing",
"description": "Hello World",
"main": "src/main.js",
"scripts": {
"css:test:ci": "rimraf ./backstop_data/bitmaps_test && backstop test --docker --config=config/backstop/backstopConfigTravis",
Expand Down
5 changes: 4 additions & 1 deletion readme.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Boilerplate for layout tasks
# Hello world

You can find some sample screenshots in the [backstop_data/bitmaps_reference](backstop_data/bitmaps_reference) folder.

___
**Read the guideline before start**

[Guideline](https://github.com/mate-academy/layout_task-guideline/blob/master/README.md)
Expand Down
19 changes: 0 additions & 19 deletions src/index.html
Original file line number Diff line number Diff line change
@@ -1,19 +0,0 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport"
content="width=device-width,
user-scalable=no,
initial-scale=1.0,
maximum-scale=1.0,
minimum-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Document</title>
<link rel="stylesheet" href="./style.css">
</head>
<body>

<script type="text/javascript" src="./main.js"></script>
</body>
</html>

0 comments on commit 4753b48

Please sign in to comment.