Fix Storybook build

This commit is contained in:
Koen Vlaswinkel
2025-02-19 09:53:47 +01:00
parent cd9dc9dd51
commit 4f934b5670
2 changed files with 5 additions and 3 deletions

5
.gitignore vendored
View File

@@ -22,4 +22,7 @@ artifacts/
# E2E Reports
**/playwright-report/**
**/test-results/**
**/test-results/**
# Storybook artifacts
**/storybook-static/**

View File

@@ -1,5 +1,4 @@
import type { ExtensionPack } from "../../../src/model-editor/shared/extension-pack";
import { join } from "path";
export function createMockExtensionPack({
path = "/path/to/extension-pack",
@@ -7,7 +6,7 @@ export function createMockExtensionPack({
}: Partial<ExtensionPack> = {}): ExtensionPack {
return {
path,
yamlPath: join(path, "codeql-pack.yml"),
yamlPath: `${path}/codeql-pack.yml`,
name: "sql2o",
version: "0.0.0",
language: "java",