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:
@@ -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",
|
||||
|
||||
@@ -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",
|
||||
|
||||
@@ -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: {
|
||||
|
||||
Reference in New Issue
Block a user