diff options
author | David Sherret <dsherret@users.noreply.github.com> | 2024-05-14 10:30:09 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-14 10:30:09 -0400 |
commit | c6189e2070ac31006920e210e616c0d9dd159b7c (patch) | |
tree | 8fd024933405a92aa16a7b43cf9b94838a98ff38 /tests/specs/publish/missing_constraint_jsx_import_source/foo.tsx | |
parent | c0a600786e32fa5e61ca40ef184772241446e33d (diff) |
fix(publish): error for missing version constraints on dry-publish instead of just publish (#23798)
Closes https://github.com/denoland/deno/issues/22835
Diffstat (limited to 'tests/specs/publish/missing_constraint_jsx_import_source/foo.tsx')
-rw-r--r-- | tests/specs/publish/missing_constraint_jsx_import_source/foo.tsx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/specs/publish/missing_constraint_jsx_import_source/foo.tsx b/tests/specs/publish/missing_constraint_jsx_import_source/foo.tsx new file mode 100644 index 000000000..120e8b334 --- /dev/null +++ b/tests/specs/publish/missing_constraint_jsx_import_source/foo.tsx @@ -0,0 +1,5 @@ +import { renderToString } from "npm:preact-render-to-string@6"; + +export default function render() { + return renderToString(<div>foo.tsx</div>); +} |