forked from styled-components/polished
/
_hslToRgb.test.js.snap
67 lines (56 loc) · 1.27 KB
/
_hslToRgb.test.js.snap
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`hslToRgb should convert black 1`] = `
Object {
"background": "rgb(102,102,102)",
}
`;
exports[`hslToRgb should convert correctly even when passed a "faulty" negative hue 1`] = `
Object {
"background": "rgb(255,0,43)",
}
`;
exports[`hslToRgb should convert correctly even when passed a "faulty" negative hue 2`] = `
Object {
"background": "rgb(85,0,255)",
}
`;
exports[`hslToRgb should convert correctly even when passed a "faulty" negative hue 3`] = `
Object {
"background": "rgb(170,255,0)",
}
`;
exports[`hslToRgb should convert numbers to a hex color 1`] = `
Object {
"background": "rgb(179,25,25)",
}
`;
exports[`hslToRgb should convert the color blue 1`] = `
Object {
"background": "rgb(0,0,255)",
}
`;
exports[`hslToRgb should convert the color cyan 1`] = `
Object {
"background": "rgb(0,255,255)",
}
`;
exports[`hslToRgb should convert the color lime 1`] = `
Object {
"background": "rgb(0,255,0)",
}
`;
exports[`hslToRgb should convert the color magenta 1`] = `
Object {
"background": "rgb(255,0,255)",
}
`;
exports[`hslToRgb should convert the color red 1`] = `
Object {
"background": "rgb(255,0,0)",
}
`;
exports[`hslToRgb should convert the color yellow 1`] = `
Object {
"background": "rgb(255,255,0)",
}
`;