@code-to-json/core-linker
Advanced tools
Comparing version 1.0.0-rc.28 to 1.0.0-rc.29
@@ -6,2 +6,10 @@ # Change Log | ||
# [1.0.0-rc.29](https://github.com/mike-north/code-to-json/compare/@code-to-json/core-linker@1.0.0-rc.28...@code-to-json/core-linker@1.0.0-rc.29) (2019-02-24) | ||
**Note:** Version bump only for package @code-to-json/core-linker | ||
# [1.0.0-rc.28](https://github.com/mike-north/code-to-json/compare/@code-to-json/core-linker@1.0.0-rc.27...@code-to-json/core-linker@1.0.0-rc.28) (2019-02-24) | ||
@@ -8,0 +16,0 @@ |
{ | ||
"name": "@code-to-json/core-linker", | ||
"version": "1.0.0-rc.28", | ||
"version": "1.0.0-rc.29", | ||
"description": "Data linker for @code-to-json/core", | ||
@@ -26,3 +26,3 @@ "main": "lib/src/index.js", | ||
"dependencies": { | ||
"@code-to-json/core": "^1.0.0-rc.37", | ||
"@code-to-json/core": "^1.0.0-rc.38", | ||
"@mike-north/types": "^1.0.7", | ||
@@ -33,4 +33,4 @@ "debug": "^4.0.0", | ||
"devDependencies": { | ||
"@code-to-json/test-helpers": "^1.0.0-rc.29", | ||
"@code-to-json/utils-node": "^1.0.0-rc.32", | ||
"@code-to-json/test-helpers": "^1.0.0-rc.30", | ||
"@code-to-json/utils-node": "^1.0.0-rc.33", | ||
"@types/chai": "4.1.7", | ||
@@ -46,3 +46,2 @@ "@typescript-eslint/eslint-plugin": "1.3.0", | ||
"mocha": "5.2.0", | ||
"mocha-typescript": "1.1.17", | ||
"nyc": "13.3.0", | ||
@@ -92,3 +91,3 @@ "remark-cli": "6.0.1", | ||
}, | ||
"gitHead": "ebdbfb5a3f12e3663e10fe1742bcd4022a744aec" | ||
"gitHead": "30b564c2f66d95ee2cd1b98fac53fe825e511ba7" | ||
} |
import { mapDict } from '@code-to-json/utils-ts'; | ||
import { expect } from 'chai'; | ||
import { suite, test } from 'mocha-typescript'; | ||
import { describe, it } from 'mocha'; | ||
import SingleFileAcceptanceTestCase from './helpers/test-case'; | ||
@suite | ||
export class CoreLiknerAcceptanceTests { | ||
@test | ||
public async 'linking completes without error'(): Promise<void> { | ||
describe('Core linker acceptance tests', () => { | ||
it('linking completes without error', async () => { | ||
const code = 'export let x: string[] = ["33"];'; | ||
@@ -20,6 +18,5 @@ const t = new SingleFileAcceptanceTestCase(code); | ||
t.cleanup(); | ||
} | ||
}); | ||
@test | ||
public async 'linking a sampler of various symbols and types'(): Promise<void> { | ||
it('linking a sampler of various symbols and types', async () => { | ||
const code = `export interface Foo<T> { | ||
@@ -80,3 +77,3 @@ bar: [T, string]; | ||
t.cleanup(); | ||
} | ||
} | ||
}); | ||
}); |
Sorry, the diff of this file is not supported yet
59233
20
948