diff --git a/src/test/queries.test.mjs b/src/test/queries.test.mjs index 35d93ac..b8de7ca 100644 --- a/src/test/queries.test.mjs +++ b/src/test/queries.test.mjs @@ -53,7 +53,6 @@ describe('createQueries', () => { depth: 2, name: 'Test Heading', text: 'Test Heading', - type: 'module', }, depth: 2, }); diff --git a/src/utils/parser.mjs b/src/utils/parser.mjs index 0ef00f4..dea0dbb 100644 --- a/src/utils/parser.mjs +++ b/src/utils/parser.mjs @@ -130,5 +130,5 @@ export const parseHeadingIntoMetadata = (heading, depth) => { } } - return { text: heading, type: 'module', name: heading, depth }; + return { text: heading, name: heading, depth }; }; diff --git a/src/utils/tests/parser.test.mjs b/src/utils/tests/parser.test.mjs index 914594f..3d51097 100644 --- a/src/utils/tests/parser.test.mjs +++ b/src/utils/tests/parser.test.mjs @@ -60,7 +60,6 @@ describe('parseYAMLIntoMetadata', () => { const input = '## test'; const expectedOutput = { text: '## test', - type: 'module', name: '## test', depth: 2, };