Skip to content

Commit a52561d

Browse files
committed
fix test
1 parent 041fecd commit a52561d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

meta_configurator/src/components/toolbar/dialogs/csvimport/__tests__/csvImportTypes.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,11 @@ describe('CsvImportColumnMappingData', () => {
3232
expect(path).toEqual(['updated']);
3333
});
3434

35-
it('getPathForJsonDocument reflects changes to the pathAfterRowIndex ref', () => {
35+
it('getPathForJsonDocument reflects changes to the pathAfterRowIndex string', () => {
3636
const pathBeforeRowIndex = ref('root');
3737
const column = new CsvImportColumnMappingData(0, 'col', pathBeforeRowIndex);
3838

39-
column.pathAfterRowIndex.value = 'custom_field';
39+
column.pathAfterRowIndex = 'custom_field';
4040
const path = column.getPathForJsonDocument(0);
4141

4242
expect(path).toEqual(['root', 0, 'custom_field']);

0 commit comments

Comments
 (0)