Skip to content

Commit

Permalink
fix test name
Browse files Browse the repository at this point in the history
  • Loading branch information
edoardocavazza committed Oct 18, 2023
1 parent c3a1e00 commit e7fb876
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion test/template.spec.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import * as DNA from '@chialab/dna';
import { Observable } from 'rxjs';
import { Observable } from 'rxjs/internal/Observable';
import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest';
import { getComponentName } from './helpers.js';

Expand Down
6 changes: 3 additions & 3 deletions vitest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@ import { defineConfig } from 'vitest/config';

const job = (() => {
if (process.env.TRAVIS) {
return `TRAVIS # ${process.env.TRAVIS_BUILD_NUMBER} (${process.env.TRAVIS_BUILD_ID})`;
return `TRAVIS ${process.env.TRAVIS_BUILD_ID}#${process.env.TRAVIS_BUILD_NUMBER}`;
}
if (process.env.GITLAB_CI) {
return `GITLAB # ${process.env.CI_JOB_NAME} (${process.env.CI_JOB_ID})`;
return `GITLAB ${process.env.CI_JOB_ID}#${process.env.CI_JOB_NAME}`;
}
if (process.env.GITHUB_ACTIONS) {
return `GITHUB # ${process.env.GITHUB_RUN_NUMBER} (${process.env.GITHUB_JOB})`;
return `GITHUB ${process.env.GITHUB_JOB}#${process.env.GITHUB_RUN_NUMBER}`;
}

return null;
Expand Down

0 comments on commit e7fb876

Please sign in to comment.