You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert
ã©ã¤ãã©ãªãES6ã§æ¸ãã¦å ¬éããæããå§ããã | Web Scratchã§ç´¹ä»ãã¦ãazu/espower-babelãã¢ãããã¼ããã¦3.0.0ããªãªã¼ã¹ãã¾ããã espower-babelã¯Babelã®å¤æ + power-assertã®å¤æãä¸ç·ã«ãã£ã¦ãããã©ã¤ãã©ãªã§ãã ç°¡åã«è¨ãã¨ES6ã§ãã¹ãã³ã¼ããæ¸ãã¦Mochaã§åããã®ãè¨å®ãã¡ã¤ã«çãä½ããªãã§åºæ¥ãããã«ããããã®ã©ã¤ãã©ãªã§ãã 詳ããã¯ä»¥ä¸ã®è¨äºãè¦ã¦ä¸ãã ã©ã¤ãã©ãªãES6ã§æ¸ãã¦å ¬éããæããå§ããã | Web Scratch 追è¨(2016-04-15): espower-babelã¯éæ¨å¥¨ã§ã.babelrcã§ç´æ¥power-assertãå©ç¨ããã®ãæ¨å¥¨ãã¦ãã¾ãã 詳ããã¯æ¬¡ã®è¨äºãè¦ã¦ãã ããã» power-assert + babel as a development tool |
使ãæ¹ waitForElement(selector, [timeout]) ã¨ããæãã§ä½¿ãã¾ãã waitForElement()ã¯Promiseãè¿ãã®ã§ãè¦ã¤ãã£ãthenã§ç»é²ããã³ã¼ã«ããã¯ãå¼ã°ãã¦ãè¦ã¤ãããªãã£ããcatchãå¼ã°ããã¨ããæãã§ãã Promiseã«ã¤ãã¦è©³ããã¯JavaScript Promiseã®æ¬ãè¦ã¦ãã ãã /** * Wait until an element that is matched the selector is visible. * @param {string} selector the css selector * @param {number} timeout the timeout is millisecond. default:2000ms * @returns {Promise} */ var waitForElem
æ¹ãã¦è¦ãã¦ã¿ãã 1) CheckboxWithLabel changes the text after click: AssertionError: # /path/to/test/components/CheckboxWithLabel_test.jsx:21 assert(label.getDOMNode().textContent === 'On') | | | | | | "Off" false | HTMLLabelElement{htmlFor:"",form:null,accessKey:"",control:HTMLInputElement{src:"",valueAsNumber:NaN,incremental:false,defaultChecked:false,form:null,multiple:false,list:null,size:20,checked:f
ãã®è¨äºã¯ECMAScript 2015ã®äºå§ãã¨ãã¦ãã©ã¤ãã©ãªãECMAScript 2015ã§æ¸ãã¦å ¬éããã¨ããã¨ããããå§ããã®ãããã®ã§ã¯ã¨ããå 容ã§ãã ECMAScript 2015(ES2015)ã¯ES6ã¨ãå¼ã°ãã¦ãã¦ã©ã¡ããåããã®ãæãã¾ããããã®è¨äºã§ã¯ES2015ã«çµ±ä¸ãã¾ãã ECMAScriptã®ãã¼ã¸ã§ã³ã«ã¤ãã¦ã¯æ¬¡ã®ãã¼ã¸ãåç §ãã¦ãã ããã ECMAScript · JavaScriptã®å ¥éæ¸ #jsprimer 2018-12-27: è¿½è¨ textlint/textlint-rule-helperã®masterã¯TypeScriptã®å®è£ ã¸å¤æããã¦ãã¾ãã Babelã®å®è£ ã¯https://github.com/textlint/textlint-rule-helper/tree/2.0.1ããåç §ã§ãã¾ã Babel ãã TypeScrip
ãã¹ãæ¸ãã¦ãªãã¨ããåãã @t_wada ã®åã§ãåããã¨è¨ããã®? ããã«ã¡ã¯ãçãããã¹ãã¯æ¸ãã¦ãã¾ããã ç§ã¯AngularJSãæ¸ãå§ããå½åJasmineã使ãã以å¾1年以ä¸ãã®ã¾ã¾ã ã£ãã®ã§ãããå¨ãã®æµããã©ããmochaãããã®ã¨ãt_wadaæ°ã®power-assertã試ãã¦ã¿ããã£ããã¨ãããä»åä¸å¿µçºèµ·ãã¦ä¹ãæãã¾ãããä»åã¯ãã®å 容ã®ã¡ã¢ã§ãã ãã¨ãgruntã§ããï¼gulpã¯å ¨ç¶åå¼·ãã¦ãªãï¼ å¤æ´åã®ç°å¢ ã¯ã©ã¤ã¢ã³ãã»ãµã¤ã (Browser) grunt jasmine karma karma-jasmine ãµã¼ãã»ãµã¤ã (node.js) grunt jasmine-node 両ãµã¤ãã¨ããã¬ã¼ã ã¯ã¼ã¯ã«jasmineãç¨ãã¦ããã¹ãã©ã³ãã¼ã«ã¯jasmine-nodeãkarmaã使ç¨ãgruntã§ç£è¦ãã¦åããã¨ãã£ãæ§æã§ããã ã¯ã©
ConstãããWebKitã«ã³ããããã¦ãCSS JITå ¥ãã®iOS8ãªãªã¼ã¹ããããã®ãè¨å¿µãã¦@Constellationããã¨@saneyuki_s ããã¨#DOMQuery寿å¸ããã¦ãã¾ããã å ãã¿ã¯ä»¥ä¸ã®è¨äºã§ãã Apple Shows Love for HTML5 with iOS 8 | Blog | Sencha iOS 8 ã« Apple ã® HTML5 ã¸ã®æãè¦ã | æ ªå¼ä¼ç¤¾ã¼ãã㣠SourceMapã¨ASTã®åé¡ç¹ ããã #DOMQueryå¯¿å¸ ã§ã pic.twitter.com/o4qpKqrKYT â azu (@azu_re) September 22, 2014 ä¸ã¤ç®ã®ç®ç«ã¨ãã¦çºè¡¨ããã®ã¯ãSourceMapã¨ASTã§ã¡ãã£ã¨ä¼¼ã¦ããªã¼ã¨æã£ãåé¡ç¹ã®è©±ã«ã¤ãã¦ã ååã®å¤æ®µSourceMapã«ã¤ãã¦ã¯ä»¥ä¸ã®è¨äºã§æ¸ãã話ã¨å¤§ä½åãã§ãã
* **power-assert:** * use single index.js ([e8fa666a](https://github.com/twada/power-assert/commit/e8fa666aa8197747ae56ca1a55fb171d30d7534c)) * update empower and power-assert-formatter to 0.8.0 ([8f760aa0](https://github.com/twada/power-assert/commit/8f760aa07271f3bcd52576dc503f3d301d67110c)) * **empower:** * [built and modularized by browserify](https://github.com/twada/empower/pull/12) * use `e
potatotips #7 at DeNA ãéå¬ãã¾ããï¼ ä»åãé¢ç½ã話ãå¤ã大å¤åå¼·ã«ãªãã¾ããã ãã¦ï¼ç§ã¯ããäºé±éã»ã©éçºãã¦ããAndroid Power Assertã«ã¤ãã¦çºè¡¨ãã¾ããã https://speakerdeck.com/gfx/jun-hapower-assertwozhi-tuteiruka-number-potatotips https://github.com/gfx/android-power-assert-plugin ã¾ã åºåãã¤ãã¤ããªé¨åã¯ããã¾ãããã¨ããããä»äºä¸ã®èªåã®ããã¸ã§ã¯ãã§ä½¿ãå§ãã¾ãããå®éãassertãä¿¡é ¼ã§ããã¨ããã®ã¯ããªãå®å¿æãããã¾ããããã¯ãã£ã¨ä½¿ããããã«ããããããæ¹åãã¦ããããã§ããã
power-assert ãä½ããã£ãã ã¢ãµã¼ã·ã§ã³å¤±ææã®æ å ±éãå¤§å¹ ã«å¢ãããã¨ãã§ããPower Assertã®ç³»è - Togetterã¾ã¨ã chai/should/expect.js è¦ãããã¨å¤ãã¦ç ©ããã èªåã§ä½ããã¨æãç«ã£ã(2013/01/08) AST å¤æ power-assert ã¯æåãã AST å¤æã§å®ç¾ãããã¨èãã¦ãã Groovy ã® Power Assert ã AST å¤æãè¡ã£ã¦ããããããã¨ã¯ä½ã¨ãªãç¥ã£ã¦ãã Groovy 1.7 Power Assert ãã¯ã¼ã¢ãµã¼ã(Power Assert)ã®çã®æå³ Groovy 1.7ã®ãã¢ã¯ASTå¤æã§ãã å®è£ ãè¦ã¦ã¯ããªãã®ã§ã Groovy ã® Power Assert ãæè¿ AST å¤æãè¡ã£ã¦ããªãããããã¨ã¯ç¥ããªãã£ãâ¦!
Name : azu Twitter : @azu_re ã¹ã©ã¤ããã¯ãªãã¯ã§ã¹ã¿ã¼ããç¢å°ãã¼ã§ã¹ã©ã¤ã移åãEscã§ä¸è¦§ã¢ã¼ãã¸æ»ã
power-assertã¨ããåç´ãªã¢ãµã¼ã·ã§ã³ã§ãããã¹ãã失æããæã«åãããããæ å ±ãåºãããã¹ãã©ã¤ãã©ãª/ãã¼ã«ã«ã¤ãã¦ã®è¨äºã§ãã ååãpower-assertã®ä½¿ãæ¹ Node.jsç·¨ | Web scratchã§ã¯power-assertã®åä½ãNode.jsããã¸ã§ã¯ãã§ã®ç°¡åãªå°å ¥æ¹æ³ã«ã¤ãã¦è§£èª¬ãã¾ããã ååã®power-assert + gulpã§ç´¹ä»ããããã¸ã§ã¯ãããã®ã¾ã¾ä½¿ã£ã¦ããã®ã§ãè¦ã¦ããªãå ´åã¯ãã¡ãããè¦ã¦ããã»ãããããã¨æãã¾ãã ä»åã¯ããã©ã¦ã¶ã§ã®power-assertã®åããæ¹ã¨ãããã°ã«ã¤ãã¦æ¸ãã¦ããããã¨æãã¾ãã ä»åæ±ãå®è¡ç°å¢ Node.js ï¼ï¼ åå ãã©ã¦ã¶ Browserify ååãã£ãã㨠ã¾ãã¯ååç´¹ä»ããgulp + power-assertã®ããã¸ã§ã¯ããå ã«ãã£ã¦ããã¾ãã azu/power-asse
Power Assertã¨ã¯assert(a === b); ã®ãããªåç´ãªã¢ãµã¼ã·ã§ã³ã§ãã Assert失ææ(ãã¹ããéããªãã£ãæ)ã«åãããããæ å ±ã表示ã§ããããã«ããæ©è½ã®äºãè¨ãã¾ãã JasmineãChaiãæã¤shouldãexpectçè¨ã£ãè±å¯ãªã¢ãµã¼ã·ã§ã³ãè¦ããå¿ è¦ãªãã ã·ã³ãã«ã«assert()ã使ãã ãã§ãååãªå¤±ææã®æ å ±ãå¾ãããããã沢山ã®ã¢ãµã¼ã·ã§ã³ã使ãåãããªãã¦ããã¨ããã¡ãªãããããã¾ãã ãã®è¨äºã§ã¯Power Assertã®JavaScriptå®è£ ã§ããtwada/power-assertã®ä½¿ãæ¹ã«ã¤ãã¦ç´¹ä»ãã¾ãã è¨äºãèªãåã« ãã®Node.jsç·¨ã¨ãã©ã¦ã¶ç·¨ã§åãããããé·ãè¨äºã¨ãªã£ã¦ãã®ã§ã ãå¿ããæ¹ã¯5åãããã§åããpower-assertã¨ããã¹ã©ã¤ããããã®ã§ããã¡ããèªãã§ãã£ããææ¡ãã¦ã¿ãã®ãããã§ãããã
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}