Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions src/components/ViewComponent/ViewComponent.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ import ViewComponent from '@/components/ViewComponent/ViewComponent.vue';
describe('ViewComponent', () => {
it('Render title prop', () => {
const title = 'Test Title'
const wrapper = shallowMount(ViewComponent, {
props:
{
const wrapper = shallowMount((ViewComponent as any), {
props:
{
title: title,
loading: false,
}
Expand All @@ -16,14 +16,14 @@ describe('ViewComponent', () => {
})

it('Render default slot content', () => {
const wrapper = shallowMount(ViewComponent, {
const wrapper = shallowMount((ViewComponent as any), {
slots: { default: '<div class="my-slot-content"></div>' }
})
expect(wrapper.find('.my-slot-content').exists()).toBe(true)
})

it('Render action slot content', () => {
const wrapper = shallowMount(ViewComponent, {
const wrapper = shallowMount((ViewComponent as any), {
slots: { actions: '<div class="my-actions-content"></div>' }
})
expect(wrapper.find('.my-actions-content').exists()).toBe(true)
Expand Down
2 changes: 1 addition & 1 deletion src/proc/regex/RegexHandler.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { ConstraintRegex } from "./ConstraintRegex";
import { Slicing } from "./Regex";
import { ValueRegex } from "./ValueRegex";
import { StringSimilarity } from "../stringSimilarity";
import { StringSimilarity } from "../StringSimilarity";

export class RegexHandler {
private static instance: RegexHandler;
Expand Down
8 changes: 4 additions & 4 deletions src/views/SourcesView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 +26,15 @@
>
<v-card
v-for="(source, index) in onlyScreenSources"
:key="source.id"
:key="(source as any).id"
@click="
streamHandler.setCurrentSelectedSource(
streams[index]
)
"
class="mb-2"
>
<v-card-title>{{ source.name }}</v-card-title>
<v-card-title>{{ (source as any).name }}</v-card-title>
<v-card-text>
<video
autoplay
Expand All @@ -55,15 +55,15 @@
v-for="(
source, index
) in onlyApplicationSources"
:key="source.id"
:key="(source as any).id"
@click="
streamHandler.setCurrentSelectedSource(
streams[lastScreenIndex + index]
)
"
class="mb-2"
>
<v-card-title>{{ source.name }}</v-card-title>
<v-card-title>{{ (source as any).name }}</v-card-title>
<v-card-text>
<video
autoplay
Expand Down