Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
EnzymeでReactコンポーネントのテストを書いてみよう
Search
Kentaro Matsushita
March 30, 2017
Programming
1.4k
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
EnzymeでReactコンポーネントのテストを書いてみよう
社内LT発表
Kentaro Matsushita
March 30, 2017
More Decks by Kentaro Matsushita
See All by Kentaro Matsushita
DMMブックスのNext.js化を加速させるAI活用 / Migrating DMM Books to Next.js with AI
kentarom
0
240
開発のアジリティ向上のためのシステムリプレイス ~DMM GAMESの事例~
kentarom
0
870
Denoで簡単なCLIツールを作ってみる / Try to make a simple CLI tool with Deno
kentarom
0
1.1k
GatsbyJSで作った個人ブログの構成を色々見直してみた / Improve my personal blog made with GatsbyJS
kentarom
1
470
Webサイトパフォーマンスを継続的に計測したい!!! / I want to continuously measure my website performance!!!
kentarom
2
620
Actions ToolkitではじめるGitHub Action開発 / Getting started creating a GitHub Action with Actions Toolkit
kentarom
2
2.1k
GitHub Gistを使って、アクティビティを可視化しよう / Let's try visualizing your activity using the GitHub Gist
kentarom
1
910
OGP画像を生成するNode.jsのライブラリを作ってみた / Create a Node.js module for generating Open Graph image
kentarom
1
7.6k
チームをよしなにする立場を経験して学んだこと / Things I have learned in leading the team
kentarom
0
850
Other Decks in Programming
See All in Programming
AIと壁打ちしながら進めるコスト管理
fufuhu
2
1.8k
freeeにおけるEvalsの実践例の紹介
freee
PRO
0
160
リアルな遅延を測る仕様
kota_yata
1
130
まずはプロンプトガイドを読もう、話はそれからだ
kiakiraki
1
240
不幸な GC
chencmd
0
830
プロポーザルを書いてもらう
pvcresin
0
590
自動化したのに回らない テスト運用の壁―AI時代の品質責任と生産性
mfunaki
0
550
in-process GraphQL のすすめ #ginzajs
izumin5210
4
1.5k
レビュー履歴をAIに食わせて、 Compose移行を加速するs
shihochan
0
250
AI Engineeringは、AIプロダクトだけのものか? 〜AIがソフトウェアを作る時代の新しい当たり前〜 / No AI in your product. AI Engineering in your development.
rkaga
5
550
Flow は今どうなっているか
mizdra
PRO
0
780
Gmail/Google DriveをトリガーにAIエージェントを動かそう! / Run AI agents with Gmail/Google Drive as triggers!
har1101
3
460
Featured
See All Featured
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
35
3.8k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
141
35k
brightonSEO & MeasureFest 2025 - Christian Goodrich - Winning strategies for Black Friday CRO & PPC
cargoodrich
3
790
SEO for Brand Visibility & Recognition
aleyda
0
4.7k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
PRO
201
75k
A Soul's Torment
seathinner
7
3.5k
Marketing to machines
jonoalderson
1
5.7k
Become a Pro
speakerdeck
PRO
31
6.2k
Optimising Largest Contentful Paint
csswizardry
37
3.9k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
27k
Applied NLP in the Age of Generative AI
inesmontani
PRO
4
2.4k
HU Berlin: Industrial-Strength Natural Language Processing with spaCy and Prodigy
inesmontani
PRO
0
670
Transcript
&O[ZNFד3FBDU؝ٝه٦طٝزך ذأز剅ְג״ֲ فٓحزؿؓ٦ي涪鿇 匟♴⨳㣕龤
⡦׃ג➂ فٓحزؿؓ٦ي涪鿇⠓㆞㛇湍ؿٗٝزؒٝسث٦ي 匟♴⨳㣕龤 ث٦يדכתאֽהㄎלגתׅկ 兛媮כ،ؕؐٝز涫ꐮװؚٗ؎ٝ⡲➂
ⴱ-5דׅ 庛ַֻ鋅㸚גְֻׁ
➙傈כ &O[ZNF⢪3FBDUך ذأز䩛岀 חאְג鑧׃תׅ
3FBDU⢪גתׅ
知⽃זغٔر٦ءّٝכ+4ד ِ٦ؠ٦ָⰅ⸂ׅ♶姻ז⦼˘ ٥ً٦ٕ،سٖأPSػأٙ٦سָⰅ⸂ׁגזְ ٥ػأٙ٦سָ瀉ֺׅ ٥ً٦ٕ،سٖأך䕎䒭ֶַָ׃ְ!ָזְ +4דثؑحؙؒٓ٦ًحإ٦آ邌爙
劤䔲ח姻׃ֻ ⹛ְגְתַׅ
⡦鸐鑐ׁזְהְֽזְկ鳞ְ 㹋ꥷחؿؓ٦يח⦼Ⰵ
ذأز剅ֲֿ״
&O[ZNF "JSCOC醡ך3FBDU؝ٝه٦طٝزךذأزخ٦ٕ ٥3FBDU؝ٝه٦طٝزך乼⡲ٖٝتؚٔٝ ٥3FBDU؝ٝه٦طٝزך䮶莸ְ然钠 ٥➭ךخ٦ٕה穈さׇגذأز荈⹛⻉
㹋ꥷח剅ְג״ֲ
ֿזסֲח剅ֻ describe(() => { it('ύεϫʔυ͕ະೖྗͷͱ͖ʹΤϥʔϝοηʔ δ͕ਖ਼͍͜͠ͱ', () => { const
wrapper = mount(<SignupForm / >); wrapper.setState({ email: ‘
[email protected]
’, password: ‘' }); wrapper.simulate('submit'); expect(wrapper).to.have.text('ύεϫʔ υ֯ӳࣈͰೖྗ͍ͯͩ͘͠͞'); }); }); ذأزⰻ㺁剅ֻ ؿؓ٦ي欰䧭 ⦼إحز ⦼鷏⥋ ًحإ٦آך然钠
ذأز㹋遤
ذأز䧭⸆
תה ٥&O[ZNF⢪ֲה3FBDUךذأزָ嚂חדֹ ٥ذأز剅ֻֿהדغؚ劢搫ח־ ٥邌爙דֹגזְ 邌爙ⰻ㺁ָ麩ֲ FUD ٥⹛⡲ָ䬐⥂ׁךד㸜䗰׃ג؝٦سָ⥜姻דֹ ٥ٔؿ؋ؙةؚٔٝ
竲ֹכ8FCד
ـؚٗ剅ֹת׃