mirror of
https://github.com/pezkuwichain/pezkuwi-ui.git
synced 2026-04-28 15:37:58 +00:00
@@ -7,7 +7,7 @@ import container from './container';
|
||||
describe('container', (): void => {
|
||||
it('applies default styles', (): void => {
|
||||
expect(
|
||||
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
||||
// eslint-disable-next-line @typescript-eslint/no-explicit-any,@typescript-eslint/no-unsafe-member-access
|
||||
(container(100).style as any)._values
|
||||
).toMatchObject({
|
||||
background: 'white',
|
||||
@@ -23,7 +23,7 @@ describe('container', (): void => {
|
||||
|
||||
it('overrides with supplied styles', (): void => {
|
||||
expect(
|
||||
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
||||
// eslint-disable-next-line @typescript-eslint/no-explicit-any,@typescript-eslint/no-unsafe-member-access
|
||||
(container(50, 'black', '', { display: 'block' }).style as any)._values
|
||||
).toMatchObject({
|
||||
background: 'black',
|
||||
|
||||
@@ -1,5 +0,0 @@
|
||||
// Copyright 2017-2020 @polkadot/ui-shared authors & contributors
|
||||
// This software may be modified and distributed under the terms
|
||||
// of the Apache-2.0 license. See the LICENSE file for details.
|
||||
|
||||
declare module 'xmlserializer';
|
||||
Reference in New Issue
Block a user