@pingux/astro 1.17.0-alpha.10 → 1.17.0-alpha.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -137,11 +137,6 @@ test('color block button renders in default state', function () {
|
|
137
137
|
|
138
138
|
expect(button).toHaveClass('is-focused');
|
139
139
|
expect(button).toHaveFocus();
|
140
|
-
|
141
|
-
_userEvent["default"].tab();
|
142
|
-
|
143
|
-
expect(button).not.toHaveClass('is-focused');
|
144
|
-
expect(button).not.toHaveFocus();
|
145
140
|
});
|
146
141
|
test('color block button renders in configured state', function () {
|
147
142
|
getComponent({
|
@@ -65,11 +65,6 @@ test('link shows focus status', function () {
|
|
65
65
|
|
66
66
|
expect(link).toHaveFocus();
|
67
67
|
expect(link).toHaveClass('is-focused');
|
68
|
-
|
69
|
-
_userEvent["default"].tab();
|
70
|
-
|
71
|
-
expect(link).not.toHaveFocus();
|
72
|
-
expect(link).not.toHaveClass('is-focused');
|
73
68
|
});
|
74
69
|
test('link shows disabled status', function () {
|
75
70
|
// Needs href to have a tabindex
|
@@ -100,9 +100,6 @@ test('color block button renders in default state', function () {
|
|
100
100
|
userEvent.tab();
|
101
101
|
expect(button).toHaveClass('is-focused');
|
102
102
|
expect(button).toHaveFocus();
|
103
|
-
userEvent.tab();
|
104
|
-
expect(button).not.toHaveClass('is-focused');
|
105
|
-
expect(button).not.toHaveFocus();
|
106
103
|
});
|
107
104
|
test('color block button renders in configured state', function () {
|
108
105
|
getComponent({
|
@@ -43,9 +43,6 @@ test('link shows focus status', function () {
|
|
43
43
|
userEvent.tab();
|
44
44
|
expect(link).toHaveFocus();
|
45
45
|
expect(link).toHaveClass('is-focused');
|
46
|
-
userEvent.tab();
|
47
|
-
expect(link).not.toHaveFocus();
|
48
|
-
expect(link).not.toHaveClass('is-focused');
|
49
46
|
});
|
50
47
|
test('link shows disabled status', function () {
|
51
48
|
// Needs href to have a tabindex
|