Skip to content

Commit 6a4dbdb

Browse files
chore(deps): update dependency @biomejs/biome to v2.3.10 (#2744)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: gabriel miranda <gabrielmfern@outlook.com>
1 parent 159f6e4 commit 6a4dbdb

File tree

3 files changed

+269
-174
lines changed

3 files changed

+269
-174
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"version": "changeset version && pnpm install --no-frozen-lockfile && pnpm lint:fix"
1515
},
1616
"devDependencies": {
17-
"@biomejs/biome": "2.3.3",
17+
"@biomejs/biome": "2.3.10",
1818
"@changesets/cli": "2.29.7",
1919
"@types/node": "22.14.1",
2020
"@types/react": "19.0.1",

packages/react-email/src/utils/preview/hot-reloading/create-dependency-graph.spec.ts

Lines changed: 26 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -29,39 +29,33 @@ describe('createDependencyGraph()', async () => {
2929
return path.resolve(testingDiretctory, relativePath);
3030
};
3131

32-
it.sequential(
33-
'should resolve dependents when there are circular dependencies',
34-
async () => {
35-
expect(resolveDependentsOf(toAbsolute('file-a.ts'))).toEqual([
36-
toAbsolute('file-b.ts'),
37-
toAbsolute('general-importing-file.ts'),
38-
]);
39-
},
40-
);
32+
it.sequential('should resolve dependents when there are circular dependencies', async () => {
33+
expect(resolveDependentsOf(toAbsolute('file-a.ts'))).toEqual([
34+
toAbsolute('file-b.ts'),
35+
toAbsolute('general-importing-file.ts'),
36+
]);
37+
});
4138

42-
it.sequential(
43-
'should have the right initial value for the dependency graph',
44-
() => {
45-
const relativePathDependencyGraph = Object.fromEntries(
46-
Object.entries(dependencyGraph).map(([key, value]) => {
47-
return [
48-
path.relative(testingDiretctory, key),
49-
{
50-
path: path.relative(testingDiretctory, value.path),
51-
dependentPaths: value.dependentPaths.map((p) =>
52-
path.relative(testingDiretctory, p),
53-
),
54-
dependencyPaths: value.dependencyPaths.map((p) =>
55-
path.relative(testingDiretctory, p),
56-
),
57-
moduleDependencies: value.moduleDependencies,
58-
},
59-
];
60-
}),
61-
);
62-
expect(relativePathDependencyGraph).toMatchSnapshot();
63-
},
64-
);
39+
it.sequential('should have the right initial value for the dependency graph', () => {
40+
const relativePathDependencyGraph = Object.fromEntries(
41+
Object.entries(dependencyGraph).map(([key, value]) => {
42+
return [
43+
path.relative(testingDiretctory, key),
44+
{
45+
path: path.relative(testingDiretctory, value.path),
46+
dependentPaths: value.dependentPaths.map((p) =>
47+
path.relative(testingDiretctory, p),
48+
),
49+
dependencyPaths: value.dependencyPaths.map((p) =>
50+
path.relative(testingDiretctory, p),
51+
),
52+
moduleDependencies: value.moduleDependencies,
53+
},
54+
];
55+
}),
56+
);
57+
expect(relativePathDependencyGraph).toMatchSnapshot();
58+
});
6559

6660
it.sequential('should work when adding a new file', async () => {
6761
await fs.writeFile(

0 commit comments

Comments
 (0)