Skip to content

Commit

Permalink
test: Changes mocha tests to use node_modules (#5467)
Browse files Browse the repository at this point in the history
  • Loading branch information
alschmiedt authored Sep 15, 2021
1 parent 9b8cd7c commit 57ac0ae
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions tests/mocha/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta charset="utf-8">
<title>Mocha Tests for Blockly</title>

<link href="https://unpkg.com/mocha@5.2.0/mocha.css" rel="stylesheet" />
<link href="../../node_modules/mocha/mocha.css" rel="stylesheet" />
<script src="../../blockly_uncompressed.js"></script>
<script src="../../generators/dart.js"></script>
<script src="../../generators/javascript.js"></script>
Expand Down Expand Up @@ -38,10 +38,10 @@

<div id="mocha"></div>
<div id="failureCount" style="display:none" tests_failed="unset"></div>
<script src="https://unpkg.com/chai/chai.js"></script>
<script src="https://unpkg.com/mocha@5.2.0/mocha.js"></script>
<script src="https://unpkg.com/sinon/pkg/sinon.js"></script>
<script src="https://unpkg.com/@blockly/dev-tools/dist/index.js"></script>
<script src="../../node_modules/chai/chai.js"></script>
<script src="../../node_modules/mocha/mocha.js"></script>
<script src="../../node_modules/sinon/pkg/sinon.js"></script>
<script src="../../node_modules/@blockly/dev-tools/dist/index.js"></script>
<script>
mocha.setup({
ui: 'tdd'
Expand Down

0 comments on commit 57ac0ae

Please sign in to comment.