We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bfbb5ca commit c5b29e4Copy full SHA for c5b29e4
packages/@lwc/shared/src/__tests__/context.spec.ts
@@ -53,6 +53,8 @@ describe('context', () => {
53
expect(() => {
54
setContextKeys(mockContextKeys2);
55
}).toThrow('`setContextKeys` cannot be called more than once');
56
+
57
+ expect(getContextKeys()).toBe(mockContextKeys1);
58
});
59
60
it('should return undefined when getting context keys before setting them', () => {
0 commit comments