mirror of
https://github.com/ant-design/ant-design.git
synced 2025-08-06 16:06:28 +08:00
chore: rm useless warning in alpha (#36419)
* chore: rm useless warning in alpha * chore: no need for test
This commit is contained in:
parent
61bbe8bd2d
commit
dbbf1e50a2
@ -3,7 +3,8 @@ import * as React from 'react';
|
||||
import Notification from '../notification';
|
||||
|
||||
// Alpha version warning, should remove when published
|
||||
if (process.env.NODE_ENV !== 'production' && canUseDom()) {
|
||||
/* istanbul ignore next */
|
||||
if (process.env.NODE_ENV !== 'production' && process.env.NODE_ENV !== 'test' && canUseDom()) {
|
||||
const icon: React.ReactNode = (
|
||||
<img
|
||||
alt="antd"
|
||||
|
Loading…
Reference in New Issue
Block a user