This repository was archived by the owner on Jul 13, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 5 files changed +1525
-1333
lines changed Expand file tree Collapse file tree 5 files changed +1525
-1333
lines changed Original file line number Diff line number Diff line change @@ -27,34 +27,21 @@ jobs:
2727 # https://nodejs.org/en/about/releases/
2828 test_node_lts :
2929 docker :
30- - image : circleci /node:lts
30+ - image : cimg /node:lts
3131 steps :
3232 - checkout
33- - run :
34- name : Download cc-test-reporter
35- command : |
36- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
37- chmod +x ./cc-test-reporter
38- - run :
39- name : cc-before
40- command : |
41- ./cc-test-reporter before-build
4233 - install_and_test
43- - run :
44- name : cc-after
45- command : |
46- ./cc-test-reporter after-build --coverage-input-type lcov --exit-code $?
4734
4835 test_node_latest :
4936 docker :
50- - image : circleci /node:latest
37+ - image : cimg /node:current
5138 steps :
5239 - checkout
5340 - install_and_test
5441
5542 release :
5643 docker :
57- - image : circleci /node:lts
44+ - image : cimg /node:lts
5845 steps :
5946 - checkout
6047 - run : yarn
Original file line number Diff line number Diff line change 5252 "fast-memoize" : " ^2.5.2" ,
5353 "immer" : " ^9.0.6" ,
5454 "lodash" : " ^4.17.21" ,
55- "tslib" : " ^2.3.1 " ,
55+ "tslib" : " ^2.6.0 " ,
5656 "urijs" : " ^1.19.11"
5757 },
5858 "devDependencies" : {
5959 "@stoplight/scripts" : " ^5" ,
6060 "@types/jest" : " ^24.9.0" ,
6161 "@types/lodash" : " ^4.14.178" ,
6262 "benchmark" : " ^2.1" ,
63- "jest" : " ^24.9 " ,
64- "ts-jest" : " ^24.3.0 " ,
63+ "jest" : " ^29.6.1 " ,
64+ "ts-jest" : " ^29.1.1 " ,
6565 "tslint" : " ^5.20" ,
6666 "tslint-config-stoplight" : " ~1.4" ,
67- "typescript" : " 3.7 .5"
67+ "typescript" : " ~4.9 .5"
6868 },
6969 "lint-staged" : {
7070 "*.{ts,tsx}$" : [
Original file line number Diff line number Diff line change 11// Jest Snapshot v1, https://goo.gl/fbAQLP
22
33exports [` resolver print tree circular refs 1` ] = `
4- Array [
4+ [
55 "#/ref3",
66 "#/ref1",
77 "#/ref2",
88]
99` ;
1010
1111exports [` resolver print tree indirect circular refs 1` ] = `
12- Array [
12+ [
1313 "custom://obj3/",
1414 "custom://obj2/",
1515 "custom://obj1/",
1616]
1717` ;
1818
1919exports [` resolver print tree should handle local refs 1` ] = `
20- Array [
20+ [
2121 "#/definitions/bear",
2222]
2323` ;
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ const { ResolveRunner } = require('../runner');
2020describe . skip ( 'benchmark' , ( ) => {
2121 test ( 'huge circular resolve' , async ( ) => {
2222 const suite = new Benchmark . Suite ( ) ;
23- await new Promise ( resolve => {
23+ await new Promise < void > ( resolve => {
2424 // add tests
2525 suite
2626 . add ( 'huge circular resolve' , async ( ) => {
@@ -96,7 +96,7 @@ describe.skip('benchmark', () => {
9696
9797 const sharedRunner = new ResolveRunner ( ) ;
9898
99- await new Promise ( resolve => {
99+ await new Promise < void > ( resolve => {
100100 // add tests
101101 suite
102102 . add ( 'crawler' , ( ) => {
You can’t perform that action at this time.
0 commit comments