Skip to content

Commit

Permalink
Update jest snapsho
Browse files Browse the repository at this point in the history
  • Loading branch information
kdy1 committed May 14, 2024
1 parent 9765f08 commit 5dc94a3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/unit/next-swc.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ describe('next/swc', () => {
if (n === "Map" || n === "Set") return Array.from(n);
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array(o, minLen);
}
import { useState } from "react";
import { useState } from 'react';
var _useState = _sliced_to_array(useState(0), 2), count = _useState[0], setCount = _useState[1];
"
`)
Expand Down Expand Up @@ -107,7 +107,7 @@ describe('next/swc', () => {
if (n === "Map" || n === "Set") return Array.from(n);
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array(o, minLen);
}
import { useState } from "react";
import { useState } from 'react';
var _useState = _to_array(useState(0)), copy = _useState.slice(0);
"
`)
Expand Down

0 comments on commit 5dc94a3

Please sign in to comment.