Skip to content

Commit

Permalink
refactor test names
Browse files Browse the repository at this point in the history
  • Loading branch information
steebchen committed Jun 20, 2024
1 parent 36bab2c commit b11f10d
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions examples/namespaced-worker.e2e.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ xdescribe('e2e', () => {
const start = new Date();

const workflow: Workflow = {
id: 'simple-e2e-workflow',
id: 'namespaced-e2e-workflow',
description: 'test',
on: {
event: 'user:create',
event: 'user:create-namespaced',
},
steps: [
{
Expand Down Expand Up @@ -62,7 +62,7 @@ xdescribe('e2e', () => {

console.log('pushing event...');

await hatchet.event.push('user:create', {
await hatchet.event.push('user:create-namespaced', {
test: 'test',
});

Expand Down
4 changes: 2 additions & 2 deletions examples/simple-worker.e2e.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ describe('e2e', () => {
id: 'simple-e2e-workflow',
description: 'test',
on: {
event: 'user:create',
event: 'user:create-simple',
},
steps: [
{
Expand Down Expand Up @@ -60,7 +60,7 @@ describe('e2e', () => {

console.log('pushing event...');

await hatchet.event.push('user:create', {
await hatchet.event.push('user:create-simple', {
test: 'test',
});

Expand Down
4 changes: 2 additions & 2 deletions examples/webhooks.e2e.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ describe('webhooks', () => {

beforeEach(async () => {
hatchet = Hatchet.init();
worker = await hatchet.worker('simple-webhook-workflow');
worker = await hatchet.worker('webhook-workflow');
});

afterEach(async () => {
Expand All @@ -23,7 +23,7 @@ describe('webhooks', () => {
let invoked = 0;

const workflow: Workflow = {
id: 'simple-webhook-workflow',
id: 'webhook-workflow',
description: 'test',
on: {
event: 'user:create-webhook',
Expand Down

0 comments on commit b11f10d

Please sign in to comment.