Skip to content

Commit

Permalink
Merge branch 'main' into @tjzel/plugin/classes
Browse files Browse the repository at this point in the history
  • Loading branch information
tjzel committed Jul 17, 2024
2 parents b2b6a13 + 922fd12 commit 3d7e69b
Show file tree
Hide file tree
Showing 3 changed files with 877 additions and 1,322 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import {
const SHARED_VALUE_REF = 'SHARED_VALUE_REF';

describe('Test context objects', () => {
test('methods are workletized', async () => {
test('non-context methods are workletized', async () => {
const ExampleComponent = () => {
const output = useSharedValue<number | null>(null);
registerValue(SHARED_VALUE_REF, output);
Expand All @@ -39,7 +39,7 @@ describe('Test context objects', () => {
expect(sharedValue.onUI).toBe(1);
});

test('properties are workletized', async () => {
test('non-context properties are workletized', async () => {
const ExampleComponent = () => {
const output = useSharedValue<number | null>(null);
registerValue(SHARED_VALUE_REF, output);
Expand Down
Loading

0 comments on commit 3d7e69b

Please sign in to comment.