Skip to content

Commit

Permalink
Add more complete tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ghivert committed Jan 10, 2025
1 parent 6cf2f30 commit 973dc7f
Show file tree
Hide file tree
Showing 55 changed files with 823 additions and 161 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
- uses: actions/checkout@v3
- uses: erlef/setup-beam@v1
with:
otp-version: '26.0.2'
otp-version: '27.0.1'
gleam-version: '1.6.3'
rebar3-version: '3'
# elixir-version: "1.15.4"
Expand All @@ -33,7 +33,7 @@ jobs:
- uses: actions/checkout@v3
- uses: erlef/setup-beam@v1
with:
otp-version: '26.0.2'
otp-version: '27.0.1'
gleam-version: '1.6.3'
rebar3-version: '3'
# elixir-version: "1.15.4"
Expand All @@ -52,7 +52,7 @@ jobs:
- uses: actions/checkout@v3
- uses: erlef/setup-beam@v1
with:
otp-version: '26.0.2'
otp-version: '27.0.1'
gleam-version: '1.6.3'
rebar3-version: '3'
# elixir-version: "1.15.4"
Expand All @@ -71,7 +71,7 @@ jobs:
- uses: actions/checkout@v3
- uses: erlef/setup-beam@v1
with:
otp-version: '26.0.2'
otp-version: '27.0.1'
gleam-version: '1.6.3'
rebar3-version: '3'
# elixir-version: "1.15.4"
Expand All @@ -90,7 +90,7 @@ jobs:
- uses: actions/checkout@v3
- uses: erlef/setup-beam@v1
with:
otp-version: '26.0.2'
otp-version: '27.0.1'
gleam-version: '1.6.3'
rebar3-version: '3'
# elixir-version: "1.15.4"
Expand Down
7 changes: 7 additions & 0 deletions sketch/birdie_snapshots/erlang_aliased_css.accepted
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
version: 1.2.5
title: erlang_aliased_css
---
.css-79177302 {
background: red;
}
9 changes: 9 additions & 0 deletions sketch/birdie_snapshots/erlang_dimensions_css.accepted
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
version: 1.2.5
title: erlang_dimensions_css
---
.css-103944017 {
padding: 12.0px;
margin: 12.0px;
transform: rotate(1.0rad) skew(1.0deg, 2.0deg);
}
10 changes: 10 additions & 0 deletions sketch/birdie_snapshots/erlang_edges_css.accepted
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
version: 1.2.5
title: erlang_edges_css
---
.css-117692592 {
grid-template-areas: "header"
"main";
--example-property: example-value;
color: blue;
}
8 changes: 8 additions & 0 deletions sketch/birdie_snapshots/erlang_exposed_css.accepted
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
version: 1.2.5
title: erlang_exposed_css
---
.css-132390646 {
background: red;
color: red;
}
8 changes: 8 additions & 0 deletions sketch/birdie_snapshots/erlang_exposed_property.accepted
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
version: 1.2.5
title: erlang_exposed_property
---
.css-132390646 {
background: red;
color: red;
}
11 changes: 11 additions & 0 deletions sketch/birdie_snapshots/erlang_function_css.accepted
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
version: 1.2.5
title: erlang_function_css
---
.css-74331814 {
background: #ddd;
background: red;
display: block;
color: red;
background: green;
}
9 changes: 9 additions & 0 deletions sketch/birdie_snapshots/erlang_function_property.accepted
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
version: 1.2.5
title: erlang_function_property
---
.css-19844900 {
width: 12px;
color: blue;
color: red;
}
11 changes: 11 additions & 0 deletions sketch/birdie_snapshots/erlang_important_css.accepted
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
version: 1.2.5
title: erlang_important_css
---
.css-111332210 {
background: red;
color: red;
padding: 12.0px;
color: blue;
background: #ccc !important;
}
14 changes: 14 additions & 0 deletions sketch/birdie_snapshots/erlang_medias_and.accepted
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
version: 1.2.5
title: erlang_medias_and
---
.css-112994211 {
background: blue;
}

@media (max-width: 700.0px) and (min-width: 600.0px) {
.css-112994211 {
background: red;
background: blue;
}
}
14 changes: 14 additions & 0 deletions sketch/birdie_snapshots/erlang_medias_and_or.accepted
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
version: 1.2.5
title: erlang_medias_and_or
---
.css-123977435 {
background: blue;
}

@media (max-width: 700.0px) and (min-width: 700.0px) or (min-width: 600.0px) {
.css-123977435 {
background: red;
background: blue;
}
}
14 changes: 14 additions & 0 deletions sketch/birdie_snapshots/erlang_medias_or.accepted
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
version: 1.2.5
title: erlang_medias_or
---
.css-18913567 {
background: blue;
}

@media (max-width: 700.0px) or (min-width: 600.0px) {
.css-18913567 {
background: red;
background: blue;
}
}
17 changes: 17 additions & 0 deletions sketch/birdie_snapshots/erlang_medias_pseudo_class.accepted
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
---
version: 1.2.5
title: erlang_medias_pseudo_class
---
.css-67993257 {
background: blue;
}

@media (max-width: 700.0px) {
.css-67993257 {
background: red;
background: blue;
}
.css-67993257:hover {
background: green;
}
}
14 changes: 14 additions & 0 deletions sketch/birdie_snapshots/erlang_medias_simple.accepted
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
version: 1.2.5
title: erlang_medias_simple
---
.css-22725631 {
background: blue;
}

@media (max-width: 700.0px) {
.css-22725631 {
background: red;
background: blue;
}
}
9 changes: 9 additions & 0 deletions sketch/birdie_snapshots/erlang_nestings_css.accepted
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
version: 1.2.5
title: erlang_nestings_css
---
.css-14492986 {
color: blue;
background: green;
padding: 12.0px;
}
37 changes: 37 additions & 0 deletions sketch/birdie_snapshots/erlang_nestings_example.accepted
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
---
version: 1.2.5
title: erlang_nestings_example
---
.css-92776350 {
}

.css-92776350 > .css-14492986 {
background: red;
}

.css-92776350 > .css-14492986:hover {
background: blue;
}

@media (max-width: 700.0px) or (min-width: 400.0px) {
.css-92776350 {
background: blue;
}
.css-92776350:hover {
background: red;
}
.css-92776350:hover {
}
.css-92776350:hover > .css-14492986 {
background: blue;
}
.css-92776350:hover > .css-14492986:hover {
background: red;
}
}

.css-14492986 {
color: blue;
background: green;
padding: 12.0px;
}
7 changes: 7 additions & 0 deletions sketch/birdie_snapshots/erlang_variable_css.accepted
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
version: 1.2.5
title: erlang_variable_css
---
.css-79177302 {
background: red;
}
7 changes: 7 additions & 0 deletions sketch/birdie_snapshots/js_aliased_css.accepted
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
version: 1.2.5
title: js_aliased_css
---
.css-2610672850 {
background: red;
}
9 changes: 9 additions & 0 deletions sketch/birdie_snapshots/js_dimensions_css.accepted
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
version: 1.2.5
title: js_dimensions_css
---
.css-1813474272 {
padding: 12.0px;
margin: 12.0px;
transform: rotate(1.0rad) skew(1.0deg, 2.0deg);
}
10 changes: 10 additions & 0 deletions sketch/birdie_snapshots/js_edges_css.accepted
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
version: 1.2.5
title: js_edges_css
---
.css-154188189 {
grid-template-areas: "header"
"main";
--example-property: example-value;
color: blue;
}
8 changes: 8 additions & 0 deletions sketch/birdie_snapshots/js_exposed_css.accepted
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
version: 1.2.5
title: js_exposed_css
---
.css-63449814 {
background: red;
color: red;
}
8 changes: 8 additions & 0 deletions sketch/birdie_snapshots/js_exposed_property.accepted
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
version: 1.2.5
title: js_exposed_property
---
.css-63449814 {
background: red;
color: red;
}
11 changes: 11 additions & 0 deletions sketch/birdie_snapshots/js_function_css.accepted
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
version: 1.2.5
title: js_function_css
---
.css-156994572 {
background: #ddd;
background: red;
display: block;
color: red;
background: green;
}
9 changes: 9 additions & 0 deletions sketch/birdie_snapshots/js_function_property.accepted
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
version: 1.2.5
title: js_function_property
---
.css-2428701155 {
width: 12px;
color: blue;
color: red;
}
11 changes: 11 additions & 0 deletions sketch/birdie_snapshots/js_important_css.accepted
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
version: 1.2.5
title: js_important_css
---
.css-3033083850 {
background: red;
color: red;
padding: 12.0px;
color: blue;
background: #ccc !important;
}
14 changes: 14 additions & 0 deletions sketch/birdie_snapshots/js_medias_and.accepted
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
version: 1.2.5
title: js_medias_and
---
.css-760505246 {
background: blue;
}

@media (max-width: 700.0px) and (min-width: 600.0px) {
.css-760505246 {
background: red;
background: blue;
}
}
14 changes: 14 additions & 0 deletions sketch/birdie_snapshots/js_medias_and_or.accepted
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
version: 1.2.5
title: js_medias_and_or
---
.css-1353033444 {
background: blue;
}

@media (max-width: 700.0px) and (min-width: 700.0px) or (min-width: 600.0px) {
.css-1353033444 {
background: red;
background: blue;
}
}
Loading

0 comments on commit 973dc7f

Please sign in to comment.