2
0
mirror of https://github.com/tenrok/BBob.git synced 2026-06-17 19:21:20 +03:00

fix: github actions (#224)

* fix: github actions

* fix: node setup

* fix: node setup cache

* fix: node and npm

* fix: pnpm workspace and .gititnore

* fix: pnpm node setup

* fix: github actions

* fix: lock file

* fix: workflow install after setup node

* fix: lock file

* fix: vue3 tests
This commit is contained in:
Nikolay Kost
2024-03-25 17:06:15 +02:00
committed by GitHub
parent 17edb9e3e6
commit 383d436b63
13 changed files with 4809 additions and 18253 deletions
+2 -2
View File
@@ -19,8 +19,8 @@
"devDependencies": {
"@bbob/preset-vue": "workspace:*",
"@testing-library/vue": "5.9.0",
"vue": "2.7.14",
"vue-template-compiler": "2.7.14"
"vue": "2.7.16",
"vue-template-compiler": "2.7.16"
},
"main": "lib/index.js",
"module": "es/index.js",
+3 -1
View File
@@ -19,7 +19,9 @@
"devDependencies": {
"@bbob/preset-vue": "workspace:*",
"@testing-library/vue": "7.0.0",
"vue": "3.3.4"
"@vue/compiler-sfc": "3.4.21",
"@vue/test-utils": "2.4.5",
"vue": "3.4.21"
},
"main": "lib/index.js",
"module": "es/index.js",
+4
View File
@@ -1,10 +1,14 @@
/**
* @jest-environment jsdom
*/
import * as Vue from 'vue'
import preset from '@bbob/preset-vue';
import { render } from '@testing-library/vue';
import Component from '../src/Component';
console.log('Vue.v', Vue.version, Vue.createApp);
const renderBBCode = (input, options) => {
const { html } = render(Component, {
props: {