Skip to content

Commit

Permalink
fix: Try to fix windows CI
Browse files Browse the repository at this point in the history
  • Loading branch information
KamiKillertO committed Oct 18, 2024
1 parent a6b167e commit 11dc231
Show file tree
Hide file tree
Showing 13 changed files with 1 addition and 14 deletions.
2 changes: 0 additions & 2 deletions test/extension/index.test.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
import { assert } from 'chai';

import { describe, it } from 'mocha';

// You can import and use all API from the 'vscode' module
// as well as import your extension to test it
import * as vscode from 'vscode';
Expand Down
2 changes: 1 addition & 1 deletion test/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export function run(
testsRoot: string,
cb: (error: Error | null, failures?: number) => void,
): void {
const mocha = new Mocha({ color: true, ui: 'tdd' });
const mocha = new Mocha({ color: true });

glob('**/**.test.js', { cwd: testsRoot }, (err, files) => {
if (err) {
Expand Down
1 change: 0 additions & 1 deletion test/unit/color-extractor-strategies/argb-extrator.test.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { assert } from 'chai';
import { describe, it } from 'mocha';

import ARGBStrategy from '../../../src/lib/colors/strategies/argb-strategy';
import Color from '../../../src/lib/colors/color';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import { assert } from 'chai';

import { REGEXP } from '../../../src/lib/colors/strategies/browser-strategy';
import { regex_exec } from '../../test-util';
import { describe, it } from 'mocha';

// Defines a Mocha test suite to group tests of similar kind together
describe('Test browser predefined color Regex', () => {
Expand Down
1 change: 0 additions & 1 deletion test/unit/color-extractor-strategies/hexa-extrator.test.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { assert } from 'chai';
import { describe, it } from 'mocha';

import { REGEXP } from '../../../src/lib/colors/strategies/hexa-strategy';
import { regex_exec } from '../../test-util';
Expand Down
1 change: 0 additions & 1 deletion test/unit/color-extractor-strategies/hsl-extractor.test.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { assert } from 'chai';
import { describe, it } from 'mocha';

import { REGEXP } from '../../../src/lib/colors/strategies/hsl-strategy';
import { regex_exec } from '../../test-util';
Expand Down
1 change: 0 additions & 1 deletion test/unit/color-extractor-strategies/rgb-extrator.test.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { assert } from 'chai';
import { describe, it } from 'mocha';

import { REGEXP } from '../../../src/lib/colors/strategies/rgb-strategy';
import { regex_exec } from '../../test-util';
Expand Down
1 change: 0 additions & 1 deletion test/unit/color-util.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import ColorUtil, {
convertRgbaToHsla,
} from '../../src/lib/util/color-util';
import Color, { IColor } from '../../src/lib/colors/color';
import { describe, it } from 'mocha';

describe('Test utility fonction', () => {
it('Should not extract invalid colors from a text', async () => {
Expand Down
1 change: 0 additions & 1 deletion test/unit/regexp-util.test.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import { assert } from 'chai';
import { ALPHA, DOT_VALUE } from '../../src/lib/util/regexp';
import { regex_exec } from '../test-util';
import { describe, it } from 'mocha';

describe('Util regexp (util/regexp.ts)', () => {
it('Should extract a dot value', () => {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { assert } from 'chai';
import { describe, it } from 'mocha';

import {
REGEXP,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { assert } from 'chai';
import { describe, it } from 'mocha';

import {
REGEXP,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { assert } from 'chai';
import { describe, it } from 'mocha';

import {
REGEXP,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { assert } from 'chai';
import { describe, it } from 'mocha';

import {
REGEXP,
Expand Down

0 comments on commit 11dc231

Please sign in to comment.