File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
packages/core/src/test/awsService/accessanalyzer Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -19,6 +19,7 @@ import * as iamPolicyChecks from '../../../awsService/accessanalyzer/vue/iamPoli
1919import * as vscode from 'vscode'
2020import { IamPolicyChecksConstants } from '../../../awsService/accessanalyzer/vue/constants'
2121import { FileSystem } from '../../../shared/fs/fs'
22+ import path from 'path'
2223
2324const defaultTerraformConfigPath = 'resources/policychecks-tf-default.yaml'
2425let sandbox : sinon . SinonSandbox
@@ -29,7 +30,10 @@ describe('iamPolicyChecks', function () {
2930 it ( 'IamPolicyChecksWebview built .vue source file path exists' , async function ( ) {
3031 assert . ok (
3132 await vscodeFs . existsFile (
32- globals . context . asAbsolutePath ( `src/awsService/accessanalyzer/vue/iamPolicyChecks.vue` )
33+ path . join (
34+ path . dirname ( globals . context . extensionPath ) ,
35+ `core/src/awsService/accessanalyzer/vue/iamPolicyChecks.vue`
36+ )
3337 )
3438 )
3539 } )
You can’t perform that action at this time.
0 commit comments