UNPKG

esx-optimize

Version:

A preloader for optimizing React applications with [`esx`](https://github.com/esxjs/esx)

12 lines (10 loc) 263 B
'use strict' import tap from 'tap' import fixture from './fixture' const { test } = tap const expected = `() => { return esx \`<div>hi</div>\` }` test('patches module system to convert module sources', async ({ is }) => { is(fixture.toString(), expected) })