$30 off During Our Annual Pro Sale. View Details »
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
430
Webサイトパフォーマンスを継続的に計測したい!!! / I want to continuously measure my website performance!!!
kentarom
2
580
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
870
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
800
AWSの既存サービスを活用して、 障害検知・復旧を迅速化するカラクリ / JAWS-UG Kanazawa x OpsJAWS
kentarom
2
4.7k
Other Decks in Programming
See All in Programming
How Software Deployment tools have changed in the past 20 years
geshan
0
26k
S3 VectorsとStrands Agentsを利用したAgentic RAGシステムの構築
tosuri13
4
240
関数実行の裏側では何が起きているのか?
minop1205
1
390
Atomics APIを知る / Understanding Atomics API
ssssota
1
240
DSPy Meetup Tokyo #1 - はじめてのDSPy
masahiro_nishimi
1
130
乱雑なコードの整理から学ぶ設計の初歩
masuda220
PRO
32
15k
MAP, Jigsaw, Code Golf 振り返り会 by 関東Kaggler会|Jigsaw 15th Solution
hasibirok0
0
190
AI時代もSEOを頑張っている話
shirahama_x
0
210
TUIライブラリつくってみた / i-just-make-TUI-library
kazto
1
290
これだけで丸わかり!LangChain v1.0 アップデートまとめ
os1ma
6
1.1k
Microservices Platforms: When Team Topologies Meets Microservices Patterns
cer
PRO
1
820
Building AI with AI
inesmontani
PRO
1
460
Featured
See All Featured
Side Projects
sachag
455
43k
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
9
990
What's in a price? How to price your products and services
michaelherold
246
12k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
140
34k
Making Projects Easy
brettharned
120
6.5k
How STYLIGHT went responsive
nonsquared
100
5.9k
Code Review Best Practice
trishagee
73
19k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
127
54k
Embracing the Ebb and Flow
colly
88
4.9k
Speed Design
sergeychernyshev
33
1.3k
Leading Effective Engineering Teams in the AI Era
addyosmani
8
1.2k
How to Ace a Technical Interview
jacobian
280
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ד
ـؚٗ剅ֹת׃