Skip to content

Commit

Permalink
test: fix browser test (#209)
Browse files Browse the repository at this point in the history
broken by commit: 7dc82dc
  • Loading branch information
80avin authored May 9, 2024
1 parent a3e6817 commit 70d2bf2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@
<!-- Testing dependencies -->
<link rel="stylesheet" href="../node_modules/mocha/mocha.css" />
<script src="../node_modules/mocha/mocha.js"></script>
<script src="../node_modules/chai/chai.js"></script>
</head>
<body>
<h1>JSONPath Tests</h1>
<div id="mocha"></div>

<script type="module">
import {JSONPath} from '../src/jsonpath-browser.js';
import * as chai from '../node_modules/chai/chai.js'
import {JSONPath} from '../dist/index-browser-esm.js';

mocha.setup('bdd');
window.assert = chai.assert;
Expand Down

0 comments on commit 70d2bf2

Please sign in to comment.