Austin

Results 33 comments of Austin

same here. Checking the script: https://github.com/chloerei/asciidoctor-pdf-cjk-kai_gen_gothic/blob/master/exe/asciidoctor-pdf-cjk-kai_gen_gothic-install It downloads fonts from https://github.com/chloerei/asciidoctor-pdf-cjk-kai_gen_gothic/releases/download/v0.1.0-fonts/ and put them into FONT_DIR. I tried to download manually, but above page returns 404.

我使用的当前的develop分支,在本地运行的。 yarn start时候,有不少warning,不知道是否有关系。 ``` Compiled with warnings. ./src/editor/widgets/timer/index.tsx Line 10:10: 'themeManager' is defined but never used @typescript-eslint/no-unused-vars ./src/components/AuthDialog.tsx Line 113:10: 'loggedIn' is assigned a value but never used @typescript-eslint/no-unused-vars ./src/editor/widgets/widget/WidgetTopPanel.tsx...

@dtinsight/molecule 已经正常安装了, 并且yarn start可以正常运行。 是不是jest和cra生成的项目使用esm模块有不兼容啊?

https://jestjs.io/docs/ecmascript-modules jest对esm的支持好像还不成熟。 大家有用jest测试包含molecule esm的项目吗? 谢谢。

如果用上面黑盒思路,请问有没有对extension做单元测试的例子? 理论上,对extension中用到的molecule相关控件的配置方法,以及各种on开头的事件回调函数都需要mock。 感觉要mock的地方不少,不是很容易写。 https://github.com/DTStack/Taier/tree/master/taier-ui/src/extensions 尝试在👆找一些extension测试的参考,没有找到。 demo里面也没看到测试用例。 一般写extension时候,最佳实践是什么样的? 如果不能比较方便的单元测试,对于刚上手的新人,是不是需要频繁在浏览器里面看console试错来熟悉api。

> 目前来说暂时没有最佳实践,针对 extensions 中的部分实现可以抽一个纯函数出来进行测试,但是大部分控件的配置方法暂时没什么特别好的办法,后面我们考虑这一块的内容 我是新手,刚开始入门,考虑直接在[molecule里面来写extension](https://github.com/DTStack/molecule/tree/main/src/extensions) 这样测试方便一些。 熟悉后再切回自己的工程里面。

Looks good. thanks for sharing the tips. How shall I use an icon with two fa classes. for example: > So you just want to put a picture/icon instead of...

Hello, is there a procedure to un-install the gem? Do we need to manually remove tables from database, or remove some .rb files? Thanks.

I have the same issue. Added spree_mail_settings to Gemfile: > gem 'spree_mail_settings', github: 'spree-contrib/spree_mail_settings' bundle update > Bundler could not find compatible versions for gem "spree_auth_devise": > In Gemfile: >...

From the stack trace: > .... > activerecord (6.0.2.2) lib/active_record/relation/finder_methods.rb:500:in `find_take' > activerecord (6.0.2.2) lib/active_record/relation/finder_methods.rb:98:in `take' > activerecord (6.0.2.2) lib/active_record/relation/finder_methods.rb:81:in `find_by' > spree_static_content (a1e066bc612d) lib/spree_static_content.rb:19:in `matches?' > actionpack (6.0.2.2) lib/action_dispatch/routing/mapper.rb:40:in...