File tree 2 files changed +4
-1
lines changed
src/components/actions/dev_tools/testing
2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -55,10 +55,14 @@ export const runTests = async () => {
55
55
execSync ( `yarn test --forceExit triggerEvents ${ testScriptFile } ${ snapshotName } ` , {
56
56
stdio : 'inherit' ,
57
57
} )
58
+ // Save "PASS" file to snapshot folder
59
+ // Re-zip
58
60
return true
59
61
} catch {
60
62
console . error ( 'FAILED TEST :(' )
61
63
return false
64
+ // Delete "PASS" file from snapshot
65
+ // Re-zip
62
66
}
63
67
}
64
68
Original file line number Diff line number Diff line change @@ -3,7 +3,6 @@ import { readFileSync } from 'fs'
3
3
import { loadActionPlugins } from '../../../pluginsConnect'
4
4
import { RequestProps , testTrigger } from '../'
5
5
import useSnapshot from '../../../../components/snapshots/useSnapshot'
6
- import { TEST_SCRIPT_FOLDER , SNAPSHOT_FOLDER } from '../../../../constants'
7
6
8
7
interface TestData {
9
8
name : string
You can’t perform that action at this time.
0 commit comments