Skip to content

Commit 7960481

Browse files
mattrbeckAndrewKushnir
authored andcommitted
test(compiler): fix a @Keyframes style encapsulation test (#64036)
I've updated the test to assert what I believe it was trying to assert before. Without this change, the CSS is invalid so it's unclear what behavior we're demonstrating. PR Close #64036
1 parent 28b0d53 commit 7960481

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/compiler/test/shadow_css/keyframes_spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -467,7 +467,7 @@ describe('ShadowCss, keyframes and animations', () => {
467467
468468
@keyframes foo {}
469469
@keyframes 'fo\\'o' {}
470-
@keyframes 'foo'' {}
470+
@keyframes 'foo\\'' {}
471471
@keyframes 'foo\\\\' {}
472472
@keyframes "bar" {}
473473
@keyframes 'ba\\'r' {}
@@ -476,7 +476,7 @@ describe('ShadowCss, keyframes and animations', () => {
476476
const result = shim(css, 'host-a');
477477
expect(result).toContain('@keyframes host-a_foo {}');
478478
expect(result).toContain("@keyframes 'host-a_fo\\'o' {}");
479-
expect(result).toContain("@keyframes 'host-a_foo'' {}");
479+
expect(result).toContain("@keyframes 'host-a_foo\\'' {}");
480480
expect(result).toContain("@keyframes 'host-a_foo\\\\' {}");
481481
expect(result).toContain('@keyframes "host-a_bar" {}');
482482
expect(result).toContain("@keyframes 'host-a_ba\\'r' {}");

0 commit comments

Comments
 (0)