-
Notifications
You must be signed in to change notification settings - Fork 631
/
Copy pathtest_helpers.mocha.js
53 lines (47 loc) · 1.24 KB
/
test_helpers.mocha.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
/**
* @license
* Copyright 2020 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
import * as commonHelpers from './common_test_helpers.mocha';
import * as blockTestHelpers from './block_test_helpers.mocha';
import * as fieldTestHelpers from './field_test_helpers.mocha';
import * as eventTestHelpers from './event_test_helpers.mocha';
const {TestCase, TestSuite, runTestCases, runTestSuites, captureWarnings} =
commonHelpers;
const {
CodeGenerationTestCase,
CodeGenerationTestSuite,
runCodeGenerationTestSuites,
runSerializationTestSuite,
SerializationTestCase,
} = blockTestHelpers;
const {
assertFieldValue,
FieldCreationTestCase,
FieldValueTestCase,
runConstructorSuiteTests,
runFromJsonSuiteTests,
runSetValueTests,
} = fieldTestHelpers;
const {assertEventFiredShallow, assertEventNotFired} = eventTestHelpers;
export {
assertEventFiredShallow,
assertEventNotFired,
assertFieldValue,
CodeGenerationTestCase,
CodeGenerationTestSuite,
FieldCreationTestCase,
FieldValueTestCase,
runCodeGenerationTestSuites,
runConstructorSuiteTests,
runFromJsonSuiteTests,
runSerializationTestSuite,
runSetValueTests,
runTestCases,
runTestSuites,
captureWarnings,
SerializationTestCase,
TestCase,
TestSuite,
};