Skip to content

Commit

Permalink
pput chai expect function in global window object
Browse files Browse the repository at this point in the history
  • Loading branch information
Algorush committed May 18, 2024
1 parent 2f1bbe7 commit 84c2233
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 0 additions & 2 deletions test/street-geo-test-bdd.mjs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
let expect = chai.expect;

describe('street-geo component', function() {
let el;

Expand Down
1 change: 1 addition & 0 deletions test/street-geo-test.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
<script src="/src/components/street-geo.js"></script>

<script type="module">
window.expect = chai.expect;
mocha.setup('bdd');
mocha.run();
</script>
Expand Down

0 comments on commit 84c2233

Please sign in to comment.