mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-05 04:58:57 +00:00
TS tests fixes (#4265)
* Eclipse ignore * TypeScript support * Prefixing enums * Test results * Merged JS and TS generators * Fixed AppVeyor build problems * Fixed more AppVeyor build problems * Fixed more AppVeyor build problems * Changed TS flag to options struct * Storing options by value * Removed unneeded const * Re-export support for unions * Uint support * Casting bools to numbers for mutation * TS shell tests * Reverted generates js test file to original version * Backing up js tests and properly generating test data * Not importing flatbuffers for TS test generation * Not overwriting generated js for tests * AppVeyor test fixes
This commit is contained in:
committed by
Wouter van Oortmerssen
parent
340d1a3447
commit
808b44f87a
@@ -15,11 +15,9 @@
|
||||
# limitations under the License.
|
||||
|
||||
pushd "$(dirname $0)" >/dev/null
|
||||
../flatc --ts --no-fb-import --gen-mutable monster_test.fbs
|
||||
../flatc --ts --no-fb-import --gen-mutable -o ts monster_test.fbs
|
||||
../flatc -b monster_test.fbs unicode_test.json
|
||||
npm install @types/flatbuffers
|
||||
mv monster_test_generated.js monster_test_generated.js.bak
|
||||
tsc monster_test_generated.ts
|
||||
tsc ts/monster_test_generated.ts
|
||||
npm uninstall @types/flatbuffers
|
||||
node JavaScriptTest
|
||||
mv monster_test_generated.js.bak monster_test_generated.js
|
||||
node JavaScriptTest ./ts/monster_test_generated
|
||||
|
||||
Reference in New Issue
Block a user