Skip to content

Commit

Permalink
fix state name of integ
Browse files Browse the repository at this point in the history
  • Loading branch information
yamatatsu committed Feb 2, 2022
1 parent 29ed4c0 commit 33e3c0f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/@aws-cdk/aws-iotevents/test/integ.detector-model.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ class TestStack extends cdk.Stack {
});

const onlineState = new iotevents.State({
stateName: 'onlineState',
stateName: 'online',
onEnter: [{
eventName: 'test-event',
// meaning `condition: 'currentInput("test_input") && $input.test_input.payload.temperature == 31.5'`
Expand All @@ -25,7 +25,7 @@ class TestStack extends cdk.Stack {
}],
});
const offlineState = new iotevents.State({
stateName: 'offlineState',
stateName: 'offline',
});

// 1st => 2nd
Expand Down

0 comments on commit 33e3c0f

Please sign in to comment.