mirror of
https://github.com/danog/dart-sass.git
synced 2024-11-27 04:34:59 +01:00
commit
a514ac505e
@ -63,7 +63,7 @@ script:
|
||||
elif [ "$TASK" = tests ]; then
|
||||
if [ -z "$NODE_VERSION" ]; then
|
||||
echo "${bold}Running Dart tests against $(dart --version &> /dev/stdout).$none";
|
||||
pub run test -x node -p vm;
|
||||
pub run test -x node;
|
||||
else
|
||||
echo "${bold}Running Node tests against Node $(node --version).$none";
|
||||
pub run test -t node;
|
||||
|
@ -21,10 +21,14 @@ install:
|
||||
pub run grinder npm_package
|
||||
}
|
||||
|
||||
# Run this as CMD because npm's stderr will cause PowerShell to think it failed.
|
||||
- IF "%NODE%"=="true" npm install
|
||||
|
||||
# Don't run Node tests on Windows until dart-lang/sdk#30098 lands.
|
||||
test_script:
|
||||
- ps: >-
|
||||
If ($env:NODE -eq "true") {
|
||||
# TODO(nweiz): "-p node" is currently broken. Figure out why.
|
||||
pub run test -p vm -t node
|
||||
} Else {
|
||||
pub run test -x node
|
||||
|
@ -2,6 +2,8 @@
|
||||
// MIT-style license that can be found in the LICENSE file or at
|
||||
// https://opensource.org/licenses/MIT.
|
||||
|
||||
@TestOn('vm')
|
||||
|
||||
import 'dart:convert';
|
||||
import 'dart:io';
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user