Skip to content

Commit 3ce225b

Browse files
authored
fix: decoration colors are configurable (#105)
1 parent 784acfc commit 3ce225b

13 files changed

+1045
-699
lines changed

.github/workflows/test.yml

+18-19
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,12 @@ name: npm test
22

33
on:
44
push:
5-
branches: [ master ]
5+
branches: [master]
66
pull_request:
7-
branches: [ master ]
7+
branches: [master]
88

99
jobs:
1010
build:
11-
1211
strategy:
1312
matrix:
1413
node-version:
@@ -20,20 +19,20 @@ jobs:
2019

2120
runs-on: ${{ matrix.os }}
2221
steps:
23-
- name: Setup xvfb for ubuntu
24-
run: Xvfb :99 -screen 0 1024x768x24 > /dev/null &
25-
if: matrix.os == 'ubuntu-latest'
22+
- name: Setup xvfb for ubuntu
23+
run: Xvfb :99 -screen 0 1024x768x24 > /dev/null &
24+
if: matrix.os == 'ubuntu-latest'
2625

27-
- uses: actions/checkout@v2
28-
- name: Use node ${{ matrix.node-version }}
29-
uses: actions/setup-node@v1
30-
with:
31-
node-version: ${{ matrix.node-version }}
32-
- run: npm ci
33-
- run: npm run build --if-present
34-
- run: npm run lint --if-present
35-
if: matrix.os == 'ubuntu-latest'
36-
- run: npm test
37-
env:
38-
CI: true
39-
DISPLAY: :99.0
26+
- uses: actions/checkout@v2
27+
- name: Use node ${{ matrix.node-version }}
28+
uses: actions/setup-node@v1
29+
with:
30+
node-version: ${{ matrix.node-version }}
31+
- run: npm ci
32+
- run: npm run build --if-present
33+
- run: npm run lint --if-present
34+
if: matrix.os == 'ubuntu-latest'
35+
- run: npm test
36+
env:
37+
CI: true
38+
DISPLAY: :99.0

example/test.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { equal } from 'assert';
1+
import { strictEqual } from 'assert';
22
import { add } from './index';
33

4-
equal(add(1, 1), 2);
4+
strictEqual(add(1, 1), 2);

0 commit comments

Comments
 (0)