File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
packages/core/src/test/applicationcomposer/messageHandlers Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change 55
66import assert from 'assert'
77import sinon from 'sinon'
8+ import semver from 'semver'
89import { createTemplate , createWebviewContext } from '../utils'
910import { generateResourceHandler } from '../../../applicationcomposer/messageHandlers/generateResourceHandler'
1011import { Command , MessageType } from '../../../applicationcomposer/types'
12+ import * as env from '../../../shared/vscode/env'
1113
1214// eslint-disable-next-line aws-toolkits/no-only-in-tests
1315describe . only ( 'generateResourceHandler' , function ( ) {
1416 for ( const _ of Array . from ( { length : 1000 } , ( i ) => i ) ) {
1517 it ( 'amazon q is not installed' , async function ( ) {
16- this . retries ( 3 )
17- this . timeout ( 1000 )
18+ const version = env . getMinVscodeVersion ( )
19+ if ( semver . lt ( version , '1.88.0' ) ) {
20+ this . skip ( )
21+ }
1822 const panel = await createTemplate ( )
1923 const postMessageSpy = sinon . spy ( panel . webview , 'postMessage' )
2024 const context = await createWebviewContext ( {
You can’t perform that action at this time.
0 commit comments