aboutsummaryrefslogtreecommitdiff
path: root/test/snippets/spread_with_key.tsx
blob: 2dc0c707262eb5a5626f65bb0f818fa893e47932 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// @ts-nocheck
import React from "react";

export function SpreadWithTheKey({ className }: Props) {
  const rest = {};
  return (
    <div className={className} key="spread-with-the-key" {...rest} onClick={() => console.log("click")}>
      Rendered component containing warning
    </div>
  );
}

export function test() {
  console.assert(React.isValidElement(<SpreadWithTheKey className="foo" />));
  return testDone(import.meta.url);
}
class='deletions'>-13/+2 2022-02-07feat: mask out token in logging (#129)Gravatar Yujia Qiao 1-10/+52 2022-02-07fix: use unbounded channels in `config_watcher` (#127)Gravatar Yujia Qiao 1-8/+6 2022-02-07chore: refactorGravatar Yujia Qiao 3-28/+10 2022-02-06fix: set `codegen-units` to 1 (#124)Gravatar Yujia Qiao 1-0/+1 2022-02-06fix: reimplement `retry_notify` with signals (#123)Gravatar Yujia Qiao 5-96/+51 2022-02-06ci: run tests in debug profileGravatar Yujia Qiao 1-3/+3 2022-02-06ci: formatGravatar Yujia Qiao 1-29/+29 2022-02-02test: fix unstable testsGravatar Yujia Qiao 1-5/+3 2022-02-02fix: respect shutdown signal when retry (#121)Gravatar Yujia Qiao 5-31/+104 * fix: respect shutdown signal when retry * test: add tests for retry_notify * chore: drop backoff/tokio 2022-02-01fix: change some messages to single line styleGravatar Yujia Qiao 1-2/+2 2022-01-26docs: fix a typoGravatar Yujia Qiao 1-1/+1 2022-01-25chore: clean upGravatar Yujia Qiao 1-74/+1 2022-01-25chore: rename docsGravatar Yujia Qiao 4-23/+42