Skip to content

Commit

Permalink
Merge pull request #18 from hopinc/feat/https-on-node-only
Browse files Browse the repository at this point in the history
  • Loading branch information
alii authored Sep 21, 2022
2 parents a7f7363 + 96cffb6 commit 64ac159
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ import 'dotenv/config';
import assert from 'node:assert/strict';
import {test} from 'node:test';

// @ts-expect-error This is usually injected by tsup
globalThis.TSUP_IS_NODE = true;

import {id, Hop, validateId} from '../src/index.js';

const BASE_URL =
Expand Down

1 comment on commit 64ac159

@vercel
Copy link

@vercel vercel bot commented on 64ac159 Sep 21, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

hop-js – ./

hop-js.vercel.app
js.hop.io
hop-js-onehop.vercel.app
hop-js-git-master-onehop.vercel.app

Please sign in to comment.