///
import { assertEquals } from 'https://deno.land/std/testing/asserts.ts';
import { React } from '../mod.ts';
const View = () => {
const techs = ['NodeJS', 'React Native', 'Next'];
return (
{techs.map((tech: any) => (
- {tech}
))}
);
};
if (import.meta.main) {
().render().then(console.log);
} else {
Deno.test('render with array', async () => {
assertEquals(
await ().render(),
'',
);
});
}