ava-to-jest.md AVAããJestã¸ã®ç§»è¡ 大æ ã®æ¸ãæ¹ ãã¹ãã±ã¼ã¹ã®å®ç¾© AVAã®test('ã³ã¡ã³ã', () => {/* ãã¹ãå 容 */});ã¨ããæ¸ãæ¹ï¼xUnitå½¢å¼ï¼ã¯Jestã§ãå¯è½ã§ããAVAã§ã¯import test from 'ava';ã¨ããæãã§testé¢æ°ãã¤ã³ãã¼ããã¦ãã¾ããããJestã§ã¯ã°ãã¼ãã«å¤æ°ã¨ãã¦å®ç¾©ããã¦ããã®ã§ã¤ã³ãã¼ãã¯ä¸è¦ã§ããtesté¢æ°ã ãã§ãªããJestãæä¾ããAPIã¯å ¨ã¦ã°ãã¼ãã«å¤æ°ã§å®ç¾©ããã¦ããã®ã§ãimportããã«åç §ã§ãã¾ãã // AVA import test from 'ava'; test('ãã¹ãã±ã¼ã¹åãªã©', t => { t.true(true); }); // Jest // å ¨ã¦ã®APIã¯ã°ãã¼ãã«ã«å®ç¾©ããã¦ãããimportã¯ä¸è¦ test('ãã¹ãã±ã¼ã¹åãªã©', ()
{{#tags}}- {{label}}
{{/tags}}