Skip to content

Commit

Permalink
Fixed path for injected JS library in the e2e tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
serbanghita committed Dec 9, 2023
1 parent 4f81d78 commit 3f41444
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion test/e2e/fixtures/form-multiple-choice-fields.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
</fieldset>
</form>

<script src="./js/formToObject.js"></script>
<script src="./js/formToObject.min.js"></script>
<!--<script>-->
<!-- const a = formToObject('testForm');-->
<!-- console.log(a);-->
Expand Down
2 changes: 1 addition & 1 deletion test/e2e/fixtures/form-single-choice-fields.html
Original file line number Diff line number Diff line change
Expand Up @@ -57,4 +57,4 @@
<input type="reset" id="reset" value="Reset"><br><br>
</form>

<script src="./js/formToObject.js"></script>
<script src="./js/formToObject.min.js"></script>
2 changes: 1 addition & 1 deletion wdio.conf.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ export const config: Options.Testrunner = {
port: 8888,
folders: [
{ mount: '/', path: path.resolve(__dirname, 'test/e2e/fixtures') },
{ mount: '/js', path: path.resolve(__dirname, 'build') },
{ mount: '/js', path: path.resolve(__dirname, 'build/bundle') },
]
}]
],
Expand Down

0 comments on commit 3f41444

Please sign in to comment.