Skip to content

Commit

Permalink
Fix - run inference tests on CI 3
Browse files Browse the repository at this point in the history
  • Loading branch information
PalumboN committed Dec 17, 2023
1 parent b4fbed3 commit 552ad6b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"test:examples": "npm run test:wtest -- --root language/test/examples",
"test:sanity": "npm run test:wtest -- --root language/test/sanity",
"test:validations": "mocha --parallel -r ts-node/register/transpile-only test/validator.test.ts",
"test:typeSystem": "mocha --parallel -r ts-node/register/transpile-only test/typeSystemInference.test.ts",
"test:typeSystem": "mocha --parallel -r ts-node/register/transpile-only test/typeSystem*.test.ts",
"test:wtest": "mocha --delay -t 10000 -r ts-node/register/transpile-only test/wtest.ts",
"test:printer": "mocha --parallel -r ts-node/register/transpile-only test/printer.test.ts",
"test:parser": "mocha --parallel -r ts-node/register/transpile-only test/parser.test.ts",
Expand Down
3 changes: 2 additions & 1 deletion test/typeSystemInference.test.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
import { fail } from 'assert'
import { should } from 'chai'
import { join } from 'path'
import { getPotentiallyUninitializedLazy } from '../src/decorators'
import { inferTypes } from '../src/typeSystem/constraintBasedTypeSystem'
import validate from '../src/validator'
import { allExpectations, buildEnvironmentForEachFile, validateExpectationProblem } from './utils'

const TESTS_PATH = 'language/test/typeSystem'
const TESTS_PATH = join('language', 'test', 'typesystem')

should()

Expand Down
3 changes: 2 additions & 1 deletion test/validator.test.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
import { fail } from 'assert'
import { should } from 'chai'
import { join } from 'path'
import validate from '../src/validator'
import { allExpectations, buildEnvironmentForEachFile, errorLocation, matchesExpectationProblem, validateExpectationProblem } from './utils'

const TESTS_PATH = 'language/test/validations'
const TESTS_PATH = join('language', 'test', 'validations')

should()

Expand Down

0 comments on commit 552ad6b

Please sign in to comment.