Rudimentary tests for not covered entry points (#11835)

* Add basic snapshot tests to ReactART components (Circle, Rectangle, Wedge)

* More tests on Circle, Rectangle, Wedge

* linc warning fixes

* - remove tests to Wedge component internal function

* More test on Wedge component, update snapshots
This commit is contained in:
Yu Tian
2017-12-13 23:45:30 +11:00
committed by Dan Abramov
parent 7a72aa0a4a
commit 8ec146c38e
5 changed files with 212 additions and 0 deletions

14
packages/react-art/Wedge.js vendored Normal file
View File

@@ -0,0 +1,14 @@
/**
* Copyright (c) 2013-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @flow
*/
'use strict';
const Wedge = require('./npm/Wedge');
module.exports = Wedge;