Skip to content

Commit

Permalink
Fixed tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mroloux committed Apr 17, 2024
1 parent 1d6cfa9 commit bcd99c1
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
5 changes: 2 additions & 3 deletions src/test/SeatsioDesigner.test.tsx
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@

import React from 'react'
import {SeatsioDesigner} from '../main/index'
import Embeddable from '../main/Embeddable'
import {removeContainer} from "./util"
import {render} from '@testing-library/react'
import { ChartDesignerConfigOptions } from '@seatsio/seatsio-types'
import {ChartDesignerConfigOptions} from '@seatsio/seatsio-types'

describe('SeatsioDesigner', () => {

Expand All @@ -13,7 +12,7 @@ describe('SeatsioDesigner', () => {
public props: ChartDesignerConfigOptions

constructor(props: ChartDesignerConfigOptions) {
this.props = removeContainer(props)
this.props = removeContainer(props) as ChartDesignerConfigOptions
}

render() {
Expand Down
4 changes: 2 additions & 2 deletions src/test/SeatsioEventManager.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ import {SeatsioEventManager} from '../main/index'
import Embeddable from '../main/Embeddable'
import {removeContainer} from "./util";
import {render} from '@testing-library/react'
import { EventManagerConfigOptions } from '@seatsio/seatsio-types';
import { TestSeatingChart } from '../types'
import {EventManagerConfigOptions} from '@seatsio/seatsio-types';
import {TestSeatingChart} from '../types'

describe('SeatsioEventManager', () => {

Expand Down
4 changes: 2 additions & 2 deletions src/test/SeatsioSeatingChart.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ import {SeatsioSeatingChart} from '../main/index'
import Embeddable from '../main/Embeddable'
import {render} from '@testing-library/react'
import {removeContainer} from "./util";
import { TestSeatingChart } from '../types';
import { ChartRendererConfigOptions } from '@seatsio/seatsio-types';
import {TestSeatingChart} from '../types';
import {ChartRendererConfigOptions} from '@seatsio/seatsio-types';

describe('SeatsioSeatingChart', () => {

Expand Down

0 comments on commit bcd99c1

Please sign in to comment.