Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
julieg18 committed Feb 22, 2024
1 parent 966218d commit abc37e1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions extension/src/test/suite/plots/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ suite('Plots Test Suite', () => {
it('should handle image by step plots with bounding boxes', async () => {
const multiImgDirPath = join('plots', 'image')
const multiImgPath = join('plots', 'image', '5.jpg')
const mockBoxes = {
const mockAnnotations = {
car: [{ box: { bottom: 0, left: 0, right: 0, top: 0 }, score: 0.5 }]
}
const imgDataWithBoundingBoxes = plotsDiffFixture.data[
Expand All @@ -274,7 +274,7 @@ suite('Plots Test Suite', () => {
if (rev === 'main' || rev === 'exp-e7a67') {
return {
...img,
boxes: mockBoxes
annotations: mockAnnotations
}
}

Expand Down Expand Up @@ -310,13 +310,13 @@ suite('Plots Test Suite', () => {
'exp-e7a67': {
...comparisonPlotsFixture.plotClasses['exp-e7a67'],
[multiImgDirPath]: {
'5': [{ boxes: mockBoxes.car, label: 'car' }]
'5': [{ boxes: mockAnnotations.car, label: 'car' }]
}
},
main: {
...comparisonPlotsFixture.plotClasses.main,
[multiImgDirPath]: {
'5': [{ boxes: mockBoxes.car, label: 'car' }]
'5': [{ boxes: mockAnnotations.car, label: 'car' }]
}
}
}
Expand Down

0 comments on commit abc37e1

Please sign in to comment.