Skip to content

Commit 11dc231

Browse files
committed
fix: Try to fix windows CI
1 parent a6b167e commit 11dc231

13 files changed

+1
-14
lines changed

test/extension/index.test.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
import { assert } from 'chai';
22

3-
import { describe, it } from 'mocha';
4-
53
// You can import and use all API from the 'vscode' module
64
// as well as import your extension to test it
75
import * as vscode from 'vscode';

test/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ export function run(
66
testsRoot: string,
77
cb: (error: Error | null, failures?: number) => void,
88
): void {
9-
const mocha = new Mocha({ color: true, ui: 'tdd' });
9+
const mocha = new Mocha({ color: true });
1010

1111
glob('**/**.test.js', { cwd: testsRoot }, (err, files) => {
1212
if (err) {

test/unit/color-extractor-strategies/argb-extrator.test.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import { assert } from 'chai';
2-
import { describe, it } from 'mocha';
32

43
import ARGBStrategy from '../../../src/lib/colors/strategies/argb-strategy';
54
import Color from '../../../src/lib/colors/color';

test/unit/color-extractor-strategies/browser-extrator.test.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ import { assert } from 'chai';
22

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

76
// Defines a Mocha test suite to group tests of similar kind together
87
describe('Test browser predefined color Regex', () => {

test/unit/color-extractor-strategies/hexa-extrator.test.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import { assert } from 'chai';
2-
import { describe, it } from 'mocha';
32

43
import { REGEXP } from '../../../src/lib/colors/strategies/hexa-strategy';
54
import { regex_exec } from '../../test-util';

test/unit/color-extractor-strategies/hsl-extractor.test.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import { assert } from 'chai';
2-
import { describe, it } from 'mocha';
32

43
import { REGEXP } from '../../../src/lib/colors/strategies/hsl-strategy';
54
import { regex_exec } from '../../test-util';

test/unit/color-extractor-strategies/rgb-extrator.test.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import { assert } from 'chai';
2-
import { describe, it } from 'mocha';
32

43
import { REGEXP } from '../../../src/lib/colors/strategies/rgb-strategy';
54
import { regex_exec } from '../../test-util';

test/unit/color-util.test.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ import ColorUtil, {
66
convertRgbaToHsla,
77
} from '../../src/lib/util/color-util';
88
import Color, { IColor } from '../../src/lib/colors/color';
9-
import { describe, it } from 'mocha';
109

1110
describe('Test utility fonction', () => {
1211
it('Should not extract invalid colors from a text', async () => {

test/unit/regexp-util.test.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import { assert } from 'chai';
22
import { ALPHA, DOT_VALUE } from '../../src/lib/util/regexp';
33
import { regex_exec } from '../test-util';
4-
import { describe, it } from 'mocha';
54

65
describe('Util regexp (util/regexp.ts)', () => {
76
it('Should extract a dot value', () => {

test/unit/variables-extractor-strategies/css-variables-extractor.test.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import { assert } from 'chai';
2-
import { describe, it } from 'mocha';
32

43
import {
54
REGEXP,

test/unit/variables-extractor-strategies/less-variables-extractor.test.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import { assert } from 'chai';
2-
import { describe, it } from 'mocha';
32

43
import {
54
REGEXP,

test/unit/variables-extractor-strategies/sass-variables-extractor.test.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import { assert } from 'chai';
2-
import { describe, it } from 'mocha';
32

43
import {
54
REGEXP,

test/unit/variables-extractor-strategies/stylus-variables-extractor.test.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import { assert } from 'chai';
2-
import { describe, it } from 'mocha';
32

43
import {
54
REGEXP,

0 commit comments

Comments
 (0)