Skip to content

Commit

Permalink
chore: cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
divmain committed Jun 26, 2023
1 parent 5512408 commit fc924be
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ it('linter returns empty diagnostics on correct file', async () => {
expect(diagnostics).toEqual([]);
});

it('transform returns javascript metadata', async () => {
it('mapLwcMetadataToInternal returns expected javascript metadata', async () => {
const filepath = path.join('src', 'javascript', '__tests__', 'fixtures', 'metadata.js');
const content = fs.readFileSync(filepath, 'utf8');

Expand All @@ -120,8 +120,6 @@ it('transform returns javascript metadata', async () => {

const modernMetadata = collectBundleMetadata(options);
const metadata = mapLwcMetadataToInternal(modernMetadata.files[0] as ScriptFile);

// TODO: see if the rest of this works as expected
const properties = getProperties(metadata);

expect(metadata.doc).toBe('* Foo doc');
Expand Down

0 comments on commit fc924be

Please sign in to comment.