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
780
Denoで簡単なCLIツールを作ってみる / Try to make a simple CLI tool with Deno
kentarom
0
1k
GatsbyJSで作った個人ブログの構成を色々見直してみた / Improve my personal blog made with GatsbyJS
kentarom
1
410
Webサイトパフォーマンスを継続的に計測したい!!! / I want to continuously measure my website performance!!!
kentarom
2
550
Actions ToolkitではじめるGitHub Action開発 / Getting started creating a GitHub Action with Actions Toolkit
kentarom
2
1.9k
GitHub Gistを使って、アクティビティを可視化しよう / Let's try visualizing your activity using the GitHub Gist
kentarom
1
830
OGP画像を生成するNode.jsのライブラリを作ってみた / Create a Node.js module for generating Open Graph image
kentarom
1
7.4k
チームをよしなにする立場を経験して学んだこと / Things I have learned in leading the team
kentarom
0
760
AWSの既存サービスを活用して、 障害検知・復旧を迅速化するカラクリ / JAWS-UG Kanazawa x OpsJAWS
kentarom
2
4.7k
Other Decks in Programming
See All in Programming
地方に住むエンジニアの残酷な現実とキャリア論
ichimichi
2
640
Gleamという選択肢
comamoca
6
740
Go1.25からのGOMAXPROCS
kuro_kurorrr
1
790
git worktree × Claude Code × MCP ~生成AI時代の並列開発フロー~
hisuzuya
0
180
ASP.NETアプリケーションのモダナイズ インフラ編
tomokusaba
1
390
GraphRAGの仕組みまるわかり
tosuri13
7
450
A comprehensive view of refactoring
marabesi
0
970
[初登壇@jAZUG]アプリ開発者が気になるGoogleCloud/Azure+wasm/wasi
asaringo
0
130
iOSアプリ開発で 関数型プログラミングを実現する The Composable Architectureの紹介
yimajo
2
210
Haskell でアルゴリズムを抽象化する / 関数型言語で競技プログラミング
naoya
17
4.8k
今ならAmazon ECSのサービス間通信をどう選ぶか / Selection of ECS Interservice Communication 2025
tkikuc
11
2.8k
生成AIで日々のエラー調査を進めたい
yuyaabo
0
620
Featured
See All Featured
A better future with KSS
kneath
239
17k
KATA
mclloyd
29
14k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
35
2.3k
It's Worth the Effort
3n
184
28k
The Art of Programming - Codeland 2020
erikaheidi
54
13k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
8
660
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
124
52k
RailsConf 2023
tenderlove
30
1.1k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
248
1.3M
Understanding Cognitive Biases in Performance Measurement
bluesmoon
29
1.8k
How GitHub (no longer) Works
holman
314
140k
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
26
2.8k
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ד
ـؚٗ剅ֹת׃