mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
17 lines
635 B
CoffeeScript
17 lines
635 B
CoffeeScript
Meteor.__COFFEESCRIPT_PRESENT = true
|
|
|
|
# This is read in coffeescript_strict_tests.coffee.
|
|
share.coffeeShared = 789
|
|
|
|
Tinytest.add "coffeescript - compile", (test) -> test.isTrue true
|
|
|
|
|
|
# import/export statements must be top-level
|
|
`import { Meteor as testingForImportedSymbol123456789 } from "meteor/meteor";`
|
|
Tinytest.add "coffeescript - import external package via backticks", (test) ->
|
|
test.isTrue testingForImportedSymbol123456789?
|
|
|
|
`import { testingForImportedModule987654321 } from "./es2015_module.js";`
|
|
Tinytest.add "coffeescript - import local module via backticks", (test) ->
|
|
test.isTrue testingForImportedModule987654321?
|