Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@ name: CI

on:
push:
branches: [main]
pull_request:
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@copilot I think we can just run on push, getting duplicate runs

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done in 4027486 — removed the pull_request trigger, keeping only push.

branches: [main]

jobs:
build:
Expand Down
6 changes: 3 additions & 3 deletions __tests__/server/helmetData.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ describe('Helmet Data', () => {
<Helmet helmetData={helmetData} base={{ target: '_blank', href: 'http://localhost/' }} />
);

const head = helmetData.context.helmet;
const head = helmetData.context.helmet!;

expect(head.base).toBeDefined();
expect(head.base.toString).toBeDefined();
Expand All @@ -41,7 +41,7 @@ describe('Helmet Data', () => {
</Helmet>
);

const head = helmetData.context.helmet;
const head = helmetData.context.helmet!;

expect(head.base).toBeDefined();
expect(head.base.toString).toBeDefined();
Expand All @@ -62,7 +62,7 @@ describe('Helmet Data', () => {
</div>
);

const head = helmetData.context.helmet;
const head = helmetData.context.helmet!;

expect(head.base).toBeDefined();
expect(head.base.toString).toBeDefined();
Expand Down
Loading