Skip to content

Commit

Permalink
test: update meta engine test suites
Browse files Browse the repository at this point in the history
  • Loading branch information
danpacho committed Mar 10, 2024
1 parent c67df8f commit a22e991
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/contents_builder/src/meta/engine.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ describe('MetaManager', () => {
if (injected.success) {
expect(injected.data).toEqual({
...injectionOption,
injected: `---\ntitle: Hello World\ndate: 2024-03-01T00:00:00.000Z\n---\nThis is injected contents.\n`,
injected: `---\ndate: 2024-03-01T00:00:00.000Z\ntitle: Hello World\n---\nThis is injected contents.\n`,
})
}
})
Expand All @@ -141,7 +141,7 @@ describe('MetaManager', () => {
if (injected.success) {
expect(injected.data).toEqual({
...injectionOption,
injected: `---\ntitle: 'New title '\ndate: 2024-05-05T00:00:00.000Z\n---\nThis is UPDATED injected contents.\n`,
injected: `---\ndate: 2024-05-05T00:00:00.000Z\ntitle: 'New title '\n---\nThis is UPDATED injected contents.\n`,
})
}
})
Expand Down

0 comments on commit a22e991

Please sign in to comment.