Fix Storybook build
This commit is contained in:
5
.gitignore
vendored
5
.gitignore
vendored
@@ -22,4 +22,7 @@ artifacts/
|
|||||||
|
|
||||||
# E2E Reports
|
# E2E Reports
|
||||||
**/playwright-report/**
|
**/playwright-report/**
|
||||||
**/test-results/**
|
**/test-results/**
|
||||||
|
|
||||||
|
# Storybook artifacts
|
||||||
|
**/storybook-static/**
|
||||||
|
|||||||
@@ -1,5 +1,4 @@
|
|||||||
import type { ExtensionPack } from "../../../src/model-editor/shared/extension-pack";
|
import type { ExtensionPack } from "../../../src/model-editor/shared/extension-pack";
|
||||||
import { join } from "path";
|
|
||||||
|
|
||||||
export function createMockExtensionPack({
|
export function createMockExtensionPack({
|
||||||
path = "/path/to/extension-pack",
|
path = "/path/to/extension-pack",
|
||||||
@@ -7,7 +6,7 @@ export function createMockExtensionPack({
|
|||||||
}: Partial<ExtensionPack> = {}): ExtensionPack {
|
}: Partial<ExtensionPack> = {}): ExtensionPack {
|
||||||
return {
|
return {
|
||||||
path,
|
path,
|
||||||
yamlPath: join(path, "codeql-pack.yml"),
|
yamlPath: `${path}/codeql-pack.yml`,
|
||||||
name: "sql2o",
|
name: "sql2o",
|
||||||
version: "0.0.0",
|
version: "0.0.0",
|
||||||
language: "java",
|
language: "java",
|
||||||
|
|||||||
Reference in New Issue
Block a user