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
0
1.4k
EnzymeでReactコンポーネントのテストを書いてみよう
社内LT発表
Kentaro Matsushita
March 30, 2017
Tweet
Share
More Decks by Kentaro Matsushita
See All by Kentaro Matsushita
開発のアジリティ向上のためのシステムリプレイス ~DMM GAMESの事例~
kentarom
0
820
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
440
Webサイトパフォーマンスを継続的に計測したい!!! / I want to continuously measure my website performance!!!
kentarom
2
590
Actions ToolkitではじめるGitHub Action開発 / Getting started creating a GitHub Action with Actions Toolkit
kentarom
2
2k
GitHub Gistを使って、アクティビティを可視化しよう / Let's try visualizing your activity using the GitHub Gist
kentarom
1
880
OGP画像を生成するNode.jsのライブラリを作ってみた / Create a Node.js module for generating Open Graph image
kentarom
1
7.5k
チームをよしなにする立場を経験して学んだこと / Things I have learned in leading the team
kentarom
0
810
AWSの既存サービスを活用して、 障害検知・復旧を迅速化するカラクリ / JAWS-UG Kanazawa x OpsJAWS
kentarom
2
4.7k
Other Decks in Programming
See All in Programming
AIエージェントの設計で注意するべきポイント6選
har1101
6
3k
CSC307 Lecture 03
javiergs
PRO
1
470
AtCoder Conference 2025
shindannin
0
920
CSC307 Lecture 02
javiergs
PRO
1
760
Findy AI+の開発、運用におけるMCP活用事例
starfish719
0
2.1k
生成AI時代を勝ち抜くエンジニア組織マネジメント
coconala_engineer
0
39k
從冷知識到漏洞,你不懂的 Web,駭客懂 - Huli @ WebConf Taiwan 2025
aszx87410
2
3.3k
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
680
Giselleで作るAI QAアシスタント 〜 Pull Requestレビューに継続的QAを
codenote
0
340
ThorVG Viewer In VS Code
nors
0
660
Navigation 3: 적응형 UI를 위한 앱 탐색
fornewid
1
530
Combinatorial Interview Problems with Backtracking Solutions - From Imperative Procedural Programming to Declarative Functional Programming - Part 2
philipschwarz
PRO
0
140
Featured
See All Featured
Bash Introduction
62gerente
615
210k
Marketing Yourself as an Engineer | Alaka | Gurzu
gurzu
0
110
Measuring & Analyzing Core Web Vitals
bluesmoon
9
730
Building the Perfect Custom Keyboard
takai
2
670
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
16
1.8k
Collaborative Software Design: How to facilitate domain modelling decisions
baasie
0
120
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
162
16k
Faster Mobile Websites
deanohume
310
31k
Stewardship and Sustainability of Urban and Community Forests
pwiseman
0
94
ラッコキーワード サービス紹介資料
rakko
0
2M
Fashionably flexible responsive web design (full day workshop)
malarkey
408
66k
A Tale of Four Properties
chriscoyier
162
24k
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ד
ـؚٗ剅ֹת׃