Skip to content

Commit

Permalink
test(transformer): 修复测试用例
Browse files Browse the repository at this point in the history
  • Loading branch information
yuche committed Dec 25, 2019
1 parent b3a7874 commit 46c8c3c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/taro-transformer-wx/src/create-html-element.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ function stringifyAttributes (input: object, componentName: string) {
}

if (
process.env.NODE_ENV !== 'test' &&
(Adapters.weapp === Adapter.type || Adapters.qq === Adapter.type) &&
key === Adapter.key &&
typeof value === 'string'
Expand Down

0 comments on commit 46c8c3c

Please sign in to comment.