test(segment-view): fix test

This commit is contained in:
Brandy Carney
2024-09-23 16:23:37 -04:00
parent 9103c403b2
commit 4c0407ed52

View File

@ -130,11 +130,12 @@
</ion-footer> </ion-footer>
<script> <script>
let currentValue;
function changeSegmentContent() { function changeSegmentContent() {
const segment = document.querySelector('#noValueSegment');
const segmentView = document.querySelector('#noValueSegmentView'); const segmentView = document.querySelector('#noValueSegmentView');
let currentValue = segment.value;
if (currentValue === 'value') { if (currentValue === 'value') {
currentValue = 'no'; currentValue = 'no';
} else { } else {