Skip to content

Commit

Permalink
test: add version test files
Browse files Browse the repository at this point in the history
  • Loading branch information
sarahdayan committed Aug 31, 2023
1 parent 2642653 commit 594d759
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ const ReactInstantSearchRouterNext = require('react-instantsearch-router-nextjs'
assert.ok(ReactInstantSearchRouterNext);

console.log('react-instantsearch-router-nextjs is valid CJS');
Ò;
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
/* eslint-disable no-console */

const assert = require('assert');

const ReactInstantSearchSSRNext = require('react-instantsearch-ssr-nextjs');

assert.ok(ReactInstantSearchSSRNext);

console.log('react-instantsearch-ssr-nextjs is valid CJS');
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
/* eslint-disable no-console */
import assert from 'assert';

import * as ReactInstantSearchSSRNext from 'react-instantsearch-ssr-nextjs';

assert.ok(ReactInstantSearchSSRNext);

console.log('react-instantsearch-ssr-nextjs is valid ESM');

0 comments on commit 594d759

Please sign in to comment.