diff --git a/test/integration/style-spec/validate_spec.test.ts b/test/integration/style-spec/validate_spec.test.ts index 52115714..2e262316 100644 --- a/test/integration/style-spec/validate_spec.test.ts +++ b/test/integration/style-spec/validate_spec.test.ts @@ -2,7 +2,7 @@ import {globSync} from 'glob'; import fs from 'fs'; import path from 'path'; import {validateStyle as validate} from '../../../src/validate_style'; -import {spec as reference} from '../../../src/reference/latest'; +import {latest} from '../../../src/reference/latest'; const UPDATE = !!process.env.UPDATE; @@ -21,7 +21,7 @@ describe('validate_spec', () => { test('errors from validate do not contain line numbers', () => { const style = JSON.parse(fs.readFileSync('test/integration/style-spec/tests/bad-color.input.json', 'utf8')); - const result = validate(style, reference); + const result = validate(style, latest); expect(result[0].line).toBeUndefined(); }); }); @@ -92,5 +92,5 @@ describe('Validate sdk-support in spec', () => { }); } - checkRoot(reference, []); + checkRoot(latest, []); });