mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-16 10:16:16 +01:00
fix flow check
This commit is contained in:
@@ -5,7 +5,7 @@ import { withContextPath } from "../urls";
|
||||
type Props = {
|
||||
src: string,
|
||||
alt: string,
|
||||
className: any
|
||||
className?: any
|
||||
};
|
||||
|
||||
class Image extends React.Component<Props> {
|
||||
|
||||
@@ -13,7 +13,7 @@ type State = {
|
||||
};
|
||||
|
||||
type Plugin = {
|
||||
id: string,
|
||||
name: string,
|
||||
bundles: string[]
|
||||
};
|
||||
|
||||
|
||||
@@ -206,6 +206,7 @@ describe("config reducer", () => {
|
||||
});
|
||||
|
||||
it("should return empty arrays for null values", () => {
|
||||
// $FlowFixMe
|
||||
const config = reducer({}, fetchConfigSuccess(configWithNullValues))
|
||||
.entries;
|
||||
expect(config.adminUsers).toEqual([]);
|
||||
|
||||
Reference in New Issue
Block a user