-
-
Notifications
You must be signed in to change notification settings - Fork 81
/
Copy path.envrc
42 lines (35 loc) · 969 Bytes
/
.envrc
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
function @setup-test() {
local meteor_version=${1:-"3.1"}
echo "🚀 Setting up test environment for Meteor ${meteor_version}"
rm -rf test
meteor create --release ${meteor_version} --bare test
(
cd test
)
}
function @test() {
local meteor_version=${1:-"3.1"}
echo "🚀 Running tests with Meteor ${meteor_version}"
(
cd test
METEOR_PACKAGE_DIRS="../" TEST_BROWSER_DRIVER=puppeteer meteor test-packages \
--raw-logs \
--once \
--driver-package meteortesting:mocha \
--release ${meteor_version} \
--exclude-archs=web.browser.legacy \
../
)
}
function @testd {
(
cd test
METEOR_PACKAGE_DIRS="../" TEST_BROWSER_DRIVER=puppeteer meteord test-packages \
--raw-logs \
--once \
--driver-package meteortesting:mocha \
--exclude-archs=web.browser.legacy \
../
)
}