feat: supply version param when installing libraries (#4305)

This commit is contained in:
David Luzar 2021-11-23 17:59:26 +01:00 committed by GitHub
parent b6ef953dc9
commit cc4b0c2932
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 23 additions and 8 deletions

View file

@ -1,3 +1,4 @@
import { VERSIONS } from "../../constants";
import {
diamondFixture,
ellipseFixture,
@ -6,7 +7,7 @@ import {
export const diagramFixture = {
type: "excalidraw",
version: 2,
version: VERSIONS.excalidraw,
source: "https://excalidraw.com",
elements: [diamondFixture, ellipseFixture, rectangleFixture],
appState: {