Ceci est une ancienne révision du document !


VS Code

Mes snippets :

check-symbol

{
  "Check symbol": {
    "prefix": "check",
    "body": "✔"
  }
}

cross-symbol

{
  "Cross symbol": {
    "prefix": "cross",
    "body": "✘"
  }
}

describe

{
	"Insert describe": {
		"prefix": "descr",
		"body": [
			"describe(\"$1\", function() {",
				"it(\"$2\", function() {",
					"const $3 = $4;",
					"",
					"expect().to.equal();",
				"});",
			"});",
		]
	}
}

it

{
	"Insert it": {
		"prefix": "it",
		"body": [
			"it(\"$1\", function() {",
				"const $2 = $3;",
				"",
				"expect().to.equal();",
			"});",

		]
	}
}