Skip to content

Commit

Permalink
add export const FIXTURE_ENTRYPOINT
Browse files Browse the repository at this point in the history
  • Loading branch information
dimaMachina committed Jan 10, 2025
1 parent e02ea82 commit 6c091cb
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@
// @compilationMode(infer)
const Test = () => <div />;

export const FIXTURE_ENTRYPOINT = {
fn: Test,
params: [{}],
};

```

## Code
Expand All @@ -23,7 +28,12 @@ const Test = () => {
return t0;
};

export const FIXTURE_ENTRYPOINT = {
fn: Test,
params: [{}],
};

```
### Eval output
(kind: exception) Fixture not implemented
(kind: ok) <div></div>
Original file line number Diff line number Diff line change
@@ -1,2 +1,7 @@
// @compilationMode(infer)
const Test = () => <div />;

export const FIXTURE_ENTRYPOINT = {
fn: Test,
params: [{}],
};

0 comments on commit 6c091cb

Please sign in to comment.