mirror of
https://github.com/hexastack/hexabot
synced 2025-05-06 05:44:37 +00:00
fix: update block fixture
This commit is contained in:
parent
c6c1e2a755
commit
ae2a13ec76
6
api/src/utils/test/fixtures/block.ts
vendored
6
api/src/utils/test/fixtures/block.ts
vendored
@ -26,6 +26,7 @@ export const blockDefaultValues: TBlockFixtures['defaultValues'] = {
|
|||||||
capture_vars: [],
|
capture_vars: [],
|
||||||
assign_labels: [],
|
assign_labels: [],
|
||||||
trigger_labels: [],
|
trigger_labels: [],
|
||||||
|
trigger_channels: [],
|
||||||
builtin: false,
|
builtin: false,
|
||||||
starts_conversation: false,
|
starts_conversation: false,
|
||||||
attachedBlock: null,
|
attachedBlock: null,
|
||||||
@ -36,7 +37,6 @@ export const blocks: TBlockFixtures['values'][] = [
|
|||||||
{
|
{
|
||||||
name: 'hasNextBlocks',
|
name: 'hasNextBlocks',
|
||||||
patterns: ['Hi'],
|
patterns: ['Hi'],
|
||||||
trigger_channels: [],
|
|
||||||
category: null,
|
category: null,
|
||||||
options: {
|
options: {
|
||||||
typing: 0,
|
typing: 0,
|
||||||
@ -55,7 +55,6 @@ export const blocks: TBlockFixtures['values'][] = [
|
|||||||
{
|
{
|
||||||
name: 'hasPreviousBlocks',
|
name: 'hasPreviousBlocks',
|
||||||
patterns: ['colors'],
|
patterns: ['colors'],
|
||||||
trigger_channels: [],
|
|
||||||
category: null,
|
category: null,
|
||||||
options: {
|
options: {
|
||||||
typing: 0,
|
typing: 0,
|
||||||
@ -93,7 +92,6 @@ export const blocks: TBlockFixtures['values'][] = [
|
|||||||
{
|
{
|
||||||
name: 'buttons',
|
name: 'buttons',
|
||||||
patterns: ['about'],
|
patterns: ['about'],
|
||||||
trigger_channels: [],
|
|
||||||
category: null,
|
category: null,
|
||||||
options: {
|
options: {
|
||||||
typing: 0,
|
typing: 0,
|
||||||
@ -131,7 +129,6 @@ export const blocks: TBlockFixtures['values'][] = [
|
|||||||
{
|
{
|
||||||
name: 'attachment',
|
name: 'attachment',
|
||||||
patterns: ['image'],
|
patterns: ['image'],
|
||||||
trigger_channels: [],
|
|
||||||
category: null,
|
category: null,
|
||||||
options: {
|
options: {
|
||||||
typing: 0,
|
typing: 0,
|
||||||
@ -158,7 +155,6 @@ export const blocks: TBlockFixtures['values'][] = [
|
|||||||
{
|
{
|
||||||
name: 'test',
|
name: 'test',
|
||||||
patterns: ['yes'],
|
patterns: ['yes'],
|
||||||
trigger_channels: [],
|
|
||||||
category: null,
|
category: null,
|
||||||
//to be verified
|
//to be verified
|
||||||
options: {
|
options: {
|
||||||
|
Loading…
Reference in New Issue
Block a user