Skip to content

Commit

Permalink
Fix markdown tests. (#170)
Browse files Browse the repository at this point in the history
Forgot to add the environment overrides.
  • Loading branch information
jverkoey authored Aug 18, 2024
1 parent b421317 commit a41d40e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Tests/SlipstreamTests/Markdown/MarkdownTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,11 @@ This is some markdown content.
Slipstream.Table {
Slipstream.TableHeader {
context.recurseDetached(into: table.head)
.environment(\.tableContext, .header)
}
Slipstream.TableBody {
context.recurseDetached(into: table.body)
.environment(\.tableContext, .body)
}
}
case is Markdown.Table.Row:
Expand All @@ -93,8 +95,8 @@ struct MarkdownTests {
<p>This is some markdown content.</p>
<table>
<thead>
<td>Column 1</td>
<td>Column 2</td>
<th>Column 1</th>
<th>Column 2</th>
</thead>
<tbody>
<tr>
Expand Down

0 comments on commit a41d40e

Please sign in to comment.