Skip to content

Commit

Permalink
Merge pull request #8 from snyk-tech-services/fix/re-enable-tests
Browse files Browse the repository at this point in the history
fix: re-enable tests & log url
  • Loading branch information
lili2311 authored May 22, 2020
2 parents 52a8594 + 028c22e commit 5a6f810
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/log-imported-targets.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export async function logImportedTarget(
loggingPath: string = getLoggingPath(),
): Promise<void> {
try {
const log = `${orgId}:${integrationId}:${Object.values(target).join(':')},`;
const log = `${orgId}:${integrationId}:${Object.values(target).join(':')}:${locationUrl},`;
fs.appendFileSync(`${loggingPath}/imported-targets.log`, log);
} catch (e) {
// do nothing
Expand Down
2 changes: 1 addition & 1 deletion test/scripts/import-projects.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ describe('Import projects script', () => {
afterEach(() => {
fs.unlinkSync(logPath);
});
it.only('succeeds to import targets from file', async () => {
it('succeeds to import targets from file', async () => {
const projects = await ImportProjects(
path.resolve(__dirname + `/fixtures/${IMPORT_PROJECTS_FILE_NAME}`),
__dirname,
Expand Down

0 comments on commit 5a6f810

Please sign in to comment.