GNU social JP
  • FAQ
  • Login
GNU social JPは日本のGNU socialサーバーです。
Usage/ToS/admin/test/Pleroma FE
  • Public

    • Public
    • Network
    • Groups
    • Featured
    • Popular
    • People

Conversation

Notices

  1. Embed this notice
    ぐぬ管 (GNU social JP管理人) (gnusocialjp@gnusocial.jp)'s status on Friday, 19-May-2023 22:16:39 JST ぐぬ管 (GNU social JP管理人) ぐぬ管 (GNU social JP管理人)
    • GNU social
    !gs QvitterでJestのテストコードを追加しようとすると、export/importの対応をする必要があり、面倒くさいですね…jqueryのバージョンも2.1.4と古いので新しくする必要があり。
    何かうまい方法あるのですかね。
    In conversation Friday, 19-May-2023 22:16:39 JST from Qvitter permalink
    • Embed this notice
      ぐぬ管 (GNU social JP管理人) (gnusocialjp@gnusocial.jp)'s status on Friday, 19-May-2023 23:29:12 JST ぐぬ管 (GNU social JP管理人) ぐぬ管 (GNU social JP管理人)
      in reply to
      Jestのガイドにjqueryの例があります。node.jsのrequireもよくわかっていないのです。明日このあたりを整理して頑張りますか。GS本体のjsも未対応なので、テストするならどのみち対策必要です。
      https://jestjs.io/docs/tutorial-jquery
      In conversation Friday, 19-May-2023 23:29:12 JST permalink

      Attachments

      1. Domain not in remote thumbnail source whitelist: jestjs.io
        DOM Manipulation · Jest
        Another class of functions that is often considered difficult to test is code that directly manipulates the DOM. Let's see how we can test the following snippet of jQuery code that listens to a click event, fetches some data asynchronously and sets the content of a span.

Feeds

  • Activity Streams
  • RSS 2.0
  • Atom
  • Help
  • About
  • FAQ
  • TOS
  • Privacy
  • Source
  • Version
  • Contact

GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.