This commit is contained in:
MishaBagger
2023-10-25 09:15:21 +03:00
commit b6c10cc93f
9828 changed files with 1446743 additions and 0 deletions

22
6/node_modules/jasmine-node/spec/GrammarHelper.coffee generated vendored Normal file
View File

@@ -0,0 +1,22 @@
global.testClass = (description, specDefinitions) ->
suite = jasmine.getEnv().describe('Class: ' + description, specDefinitions)
suite.tags = ['class']
suite.isIntermediate = true;
suite
global.feature = (description, specDefinitions) ->
suite = jasmine.getEnv().describe('Feature: ' + description, specDefinitions)
suite.tags = ['feature']
suite.isIntermediate = true;
suite
global.scenario = (desc, func) ->
suite = jasmine.getEnv().describe('Scenario: ' + desc, func)
suite.tags = ['scenario']
suite.isIntermediate = true;
suite
global.should = (description, specDefinitions) ->
suite = jasmine.getEnv().it('It should ' + description, specDefinitions)
suite.tags = ['should']
suite