Skip to content

Commit

Permalink
fix unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
rwaskiewicz committed May 4, 2024
1 parent 6dbba66 commit 01ea79e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/contributions/html-contributions.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,11 @@ import { beforeEach, describe, expect, it } from 'vitest';
import { generateElementInfo } from './html-contributions';
import { ElementInfo } from '../index';
import { ComponentCompilerMeta } from '@stencil/core/internal';
import { join } from 'node:path';

const MOCK_STENCIL_ROOT_DIR = '/';
const MOCK_CLASS_COMPONENT_NAME = 'StubCmp';
const MOCK_MODULE_PATH = 'some/stubbed/path/my-component.tsx';
const MOCK_MODULE_PATH = join('some', 'stubbed', 'path', 'my-component.tsx');

describe('generateElementInfo', () => {
it('returns an empty array when no components are provided', () => {
Expand Down

0 comments on commit 01ea79e

Please sign in to comment.