/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @flow
* @format
*/
import * as React from 'react';
import ReactTestRenderer from 'react-test-renderer';
import Slider from '../Slider/Slider';
describe('', () => {
it('should render as expected', () => {
expect(ReactTestRenderer.create()).toMatchSnapshot();
});
it('should set disabled as false', () => {
// Slider component should set disabled prop as false by default
expect(ReactTestRenderer.create()).toMatchSnapshot();
expect(
ReactTestRenderer.create(
,
),
).toMatchSnapshot();
});
it('should set disabled as true', () => {
expect(ReactTestRenderer.create()).toMatchSnapshot();
expect(
ReactTestRenderer.create(
,
),
).toMatchSnapshot();
});
});