include json/css in integration tests

This commit is contained in:
Martin Aeschlimann
2018-03-20 13:02:42 +01:00
parent ab90818cb3
commit 4c81ed502a
9 changed files with 15 additions and 12 deletions

View File

@@ -22,7 +22,7 @@ export interface ItemDescription {
}
suite('Completions', () => {
suite('HTML Completions', () => {
let assertCompletion = function (completions: CompletionList, expected: ItemDescription, document: TextDocument, offset: number) {
let matches = completions.items.filter(completion => {

View File

@@ -7,7 +7,7 @@
import * as assert from 'assert';
import { getDocumentContext } from '../utils/documentContext';
suite('Document Context', () => {
suite('HTML Document Context', () => {
test('Context', function (): any {
const docURI = 'file:///users/test/folder/test.html';

View File

@@ -15,7 +15,7 @@ import * as embeddedSupport from '../modes/embeddedSupport';
import { getEmmetCompletionParticipants } from 'vscode-emmet-helper';
import { getCSSMode } from '../modes/cssMode';
suite('Emmet Support', () => {
suite('HTML Emmet Support', () => {
const htmlLanguageService = getLanguageService();

View File

@@ -34,7 +34,7 @@ function r(startLine: number, endLine: number, type?: string): ExpectedIndentRan
return { startLine, endLine, type };
}
suite('Object Folding', () => {
suite('HTML Folding', () => {
test('Fold one level', () => {
let input = [
/*0*/'<html>',

View File

@@ -7,7 +7,7 @@
import * as assert from 'assert';
import * as words from '../utils/strings';
suite('Words', () => {
suite('HTML Words', () => {
let wordRegex = /(-?\d*\.\d\w*)|([^\`\~\!\@\#\%\^\&\*\(\)\-\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\?\s]+)/g;